Github user witgo commented on a diff in the pull request:

    https://github.com/apache/spark/pull/325#discussion_r11471966
  
    --- Diff: core/src/main/scala/org/apache/spark/Logging.scala ---
    @@ -135,4 +136,6 @@ trait Logging {
     private object Logging {
       @volatile private var initialized = false
       val initLock = new Object()
    +  SLF4JBridgeHandler.removeHandlersForRootLogger()
    --- End diff --
    
    RootLogger default is contains Java.Util.Logging.ConsoleHandler
    `SLF4JBridgeHandler.removeHandlersForRootLogger()` is used to remove it
    `cat jre/lib/logging.properties` =>
    
    
        handlers= java.util.logging.ConsoleHandler
        .level= INFO
        java.util.logging.FileHandler.pattern = %h/java%u.log
        java.util.logging.FileHandler.limit = 50000
        java.util.logging.FileHandler.count = 1
        java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
        java.util.logging.ConsoleHandler.level = INFO
        java.util.logging.ConsoleHandler.formatter = 
java.util.logging.SimpleFormatter
        com.xyz.foo.level = SEVERE


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to