gengliangwang commented on code in PR #46980:
URL: https://github.com/apache/spark/pull/46980#discussion_r1640678812
##########
streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala:
##########
@@ -725,7 +725,8 @@ class StreamingContext private[streaming] (
private def stopOnShutdown(): Unit = {
val stopGracefully = conf.get(STOP_GRACEFULLY_ON_SHUTDOWN)
- logInfo(s"Invoking stop(stopGracefully=$stopGracefully) from shutdown
hook")
+ logInfo(log"Invoking stop(stopGracefully=" +
+ log"${MDC(LogKeys.STOP_SITE_SHORT_FORM, stopGracefully)}) from shutdown
hook")
Review Comment:
stopGracefully is a conf value. Let's simply use VALUE, or use comment to
ignore this log entry later
--
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]