How to enable debug in slf4j Logger?

后端 未结 9 770
醉酒成梦
醉酒成梦 2020-12-24 05:21

How to globally enable debug for all the slf4j.Logger objects?

9条回答
  •  臣服心动
    2020-12-24 05:49

    If you use log4j as the binding of slf4j you can crete a log4j.xml (or log4j.properties) file and add it to the classpath. An example could be:

    
    
    
      
        
        
        
          
        
      
      
        
      
    
    

提交回复
热议问题