logback.xml



    

    
    
    
        
            ${LOG_PATTERN}
        
    

    
    
        ${LOG_PATH}rootstdout.log
        
            ${LOG_PATH}rootstdout.%i.log.zip
            1
            20
        
        
            10MB
        
        
            ${LOG_PATTERN}
        
    

    
    
        ${LOG_PATH}root-debug.log
        
            ${LOG_PATH}root-debug.%i.log.zip
            1
            10
        
        
            10MB
        
        
            ${LOG_PATTERN}
        
        
            DEBUG
            ACCEPT
            DENY
        
    

    
    
        ${LOG_PATH}root-info.log
        
            ${LOG_PATH}root-info.%i.log.zip
            1
            10
        
        
            10MB
        
        
            ${LOG_PATTERN}
        
        
            INFO
            ACCEPT
            DENY
        
    

    
    
        ${LOG_PATH}root-warn.log
        
            ${LOG_PATH}root-warn.%i.log.zip
            1
            10
        
        
            10MB
        
        
            ${LOG_PATTERN}
        
        
            WARN
            ACCEPT
            DENY
        
    

    
    
        ${LOG_PATH}root-error.log
        
            ${LOG_PATH}root-error.%d{yyyy-MM-dd}.log
            30
        
        
            ${LOG_PATTERN}
        
        
            Error
            ACCEPT
            DENY
        
    

    
        
            
            
            
            
            
        
    

    
        
            
            
            
            
            
            
            
        
    

你可能感兴趣的:(SpringBoot,logback,log4j2,slf4j,log4j)