viirya commented on a change in pull request #35048:
URL: https://github.com/apache/spark/pull/35048#discussion_r776179790



##########
File path: core/src/test/scala/org/apache/spark/SparkFunSuite.scala
##########
@@ -249,6 +249,7 @@ abstract class SparkFunSuite
       if (level.isDefined) {
         logger.setLevel(level.get)
         logger.get().setLevel(level.get)
+        
LogManager.getContext(false).asInstanceOf[LoggerContext].updateLoggers()

Review comment:
       lgtm. I thought we should update the loggers here too. I actually was 
wondering if this should be do the same, but as no test failure happens I 
thought it maybe fine. :)




-- 
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]

Reply via email to