SSM中logback.xml 的配置



    
        
            %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
        
    

   
    
        
            DEBUG
            ACCEPT
            DENY 
        
        
            /export/data/logs/debug.%d{yyyy-MM-dd}.log
            30
        
        
            %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
        
    
 
    
    
        
            INFO
            ACCEPT
            DENY 
        
        
            /export/data/logs/info.%d{yyyy-MM-dd}.log
            30
        
        
            %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
        
    
    
    
    
        
            ERROR
            ACCEPT
            DENY 
        
        
            /export/data/logs/error.%d{yyyy-MM-dd}.log
            30
        
        
            %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
        
    
    
    
    

    
    
        
        
        
        
    

你可能感兴趣的:(SSM中logback.xml 的配置)