Logback.xml模板的记忆保留




     
    
    
    
    
    
    
        
            [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n
            
        
    
    
    
        
            [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n
            
        
        
            ERROR
            ACCEPT
            DENY
        
        
            ${ROOT}%d/error.%i.log
            ${MAXHISTORY}
            
                ${FILESIZE}
            
        
    
    
    
    
        
            [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n
            
        
        
            WARN
            ACCEPT
            DENY
        
        
            ${ROOT}%d/warn.%i.log
            ${MAXHISTORY}
            
                ${FILESIZE}
            
        
    
    
    
    
        
            [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n
            
        
        
            INFO
            ACCEPT
            DENY
        
        
            ${ROOT}%d/info.%i.log
            ${MAXHISTORY}
            
                ${FILESIZE}
            
        
    
    
    
        
            [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n
            
        
        
            DEBUG
            ACCEPT
            DENY
        
        
            ${ROOT}%d/debug.%i.log
            ${MAXHISTORY}
            
                ${FILESIZE}
            
        
    
    
    
        
            [%-5level] %d{${DATETIME}} [%thread] %logger{36} - %m%n
            
        
        
            TRACE
            ACCEPT
            DENY
        
        
            ${ROOT}%d/trace.%i.log
            ${MAXHISTORY}
            
                ${FILESIZE}
            
        
    
    
    
    
    
    
    
    
    
        
          
        
        
         
        
    

以上即为一个完整的logback.xml模板。

你可能感兴趣的:(渐进式的成长)