gengliangwang commented on code in PR #46980:
URL: https://github.com/apache/spark/pull/46980#discussion_r1639061950
##########
core/src/main/scala/org/apache/spark/broadcast/Broadcast.scala:
##########
@@ -106,7 +106,8 @@ abstract class Broadcast[T: ClassTag](val id: Long) extends
Serializable with Lo
assertValid()
_isValid = false
_destroySite = Utils.getCallSite().shortForm
- logInfo("Destroying %s (from %s)".format(toString, _destroySite))
+ logInfo(log"Destroying ${MDC(LogKeys.TO_STRING, toString)} " +
Review Comment:
The first log key should be `BROADCAST`. `toString` is from the class itself.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]