Logback

示例





    
    
    
    
    
    
    

    
    
    
        
            ${log.pattern}
        
    
    
    
        
        ${log.filePath}/debug.log

        
        
            
            ${log.filePath}/debug/debug.%d{yyyy-MM-dd}.log.gz
            
            ${log.maxHistory}
        

        
        
            ${log.pattern}
        

        
        
            DEBUG
            ACCEPT
            DENY
        
    
    
    
        
        ${log.filePath}/info.log

        
        
            
            ${log.filePath}/info/info.%d{yyyy-MM-dd}.log.gz
            
            ${log.maxHistory}
        

        
        
            ${log.pattern}
        

        
        
            INFO
            ACCEPT
            DENY
        
    
    
    
        
        ${log.filePath}/error.log

        
        
            
            ${log.filePath}/error/error.%d{yyyy-MM-dd}.log.gz
            
            ${log.maxHistory}
        

        
        
            ${log.pattern}
        

        
        
            ERROR
            ACCEPT
            DENY
        
    



    
    
        
        
        
    
    
    
        
    


你可能感兴趣的:(Logback)