You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/12/31 18:54:46 UTC

[GitHub] [spark] viirya commented on a change in pull request #35075: [SPARK-37794][BUILD] Remove internal log4j bridge api usage

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



##########
File path: sql/hive/src/test/scala/org/apache/spark/sql/hive/test/TestHive.scala
##########
@@ -535,10 +535,12 @@ private[hive] class TestHiveSparkSession(
   def reset(): Unit = {
     try {
       // HACK: Hive is too noisy by default.
-      org.apache.log4j.LogManager.getCurrentLoggers.asScala.foreach { log =>
-        val logger = log.asInstanceOf[org.apache.log4j.Logger]
+      org.apache.logging.log4j.LogManager.getContext(false)

Review comment:
       #35080 is different.




-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org