Migrating from log4j to log4j2 - properties file configuration

前端 未结 5 1169
天涯浪人
天涯浪人 2020-12-14 20:25

I have a java application which is using log4j configured as below.

log4j.properties

log4j.rootLogger=I         


        
5条回答
  •  猫巷女王i
    2020-12-14 20:58

    You can use this wonderful frontend web to convert you properties to a XML http://log4j-props2xml.appspot.com/

    Resulting:

    
    
    
        
            
            
            
            
                
            
        
        
            
            
        
    
    

提交回复
热议问题