gengliangwang commented on code in PR #47500:
URL: https://github.com/apache/spark/pull/47500#discussion_r1706450529
##########
core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala:
##########
@@ -85,6 +85,10 @@ private[spark] class SparkSubmit extends Logging {
Logging.disableStructuredLogging()
}
}
+
+ // We should initialize log again after
`spark.log.structuredLogging.enabled` effected
+ Logging.uninitialize()
Review Comment:
@pan3793 sorry for the late reply. We should fix this issue for sure.
However, explicitly calling `Logging.uninitialize()` here seems weird.
I wonder if we can have a better solution than this.
--
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]