LuciferYang opened a new pull request #35095:
URL: https://github.com/apache/spark/pull/35095


   ### What changes were proposed in this pull request?
   `SPARK-37795` Add a scalastyle rule to ban `org.apache.log4j` imports, but 
there is still one place to retain the imports of `org.apache.log4j` in 
`o.a.spark.TestUtils`.
   
   This pr refactor `configTestLog4j` method in `o.a.spark.TestUtils` to use 
log4j2 api and rename the method name from `configTestLog4j` to 
`configTestLog4j2`.
   
   
   ### Why are the changes needed?
   Clean up the `org.apache.log4j` imports left in Spark internal. 
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   Pass the Jenkins or GitHub Action
   
   
   


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