What do you have in your log4net config? Hacks, optimizations, observations?

前端 未结 6 2123
悲哀的现实
悲哀的现实 2021-01-30 09:25

This is my log4net config file



  

        
6条回答
  •  耶瑟儿~
    2021-01-30 10:12

    This may help a little, depending on how similar log4j and log4net are, I would think they are based on the same specification, but I don't know for sure.

    Well I can't tell you what I have in my log4net config, but I can tell you what I have in my log4j config if that's good enough...

    
    
    
        
    
        
            
            
             
                
                
        
    
        
            
        
    
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
        
    
        
            
            
        
    
    
    

    Also I have a corresponding chainsaw configuration file:

    
     
    
       
         
          
          
         
          
       
    
       
          
       
    
    

    Also here is some information that may help you decifer the latter file: http://wiki.apache.org/logging-log4j/Configuring_a_log4j_RollingFileAppender_with_Chainsaw

提交回复
热议问题