logback配置单独打印日志


        ${LOG_PATH}/test.log
        
            INFO
        
        
            ${LOG_PATH}/test.%d{yyyy-MM-dd}.log
            36
        
        
            %date{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36}-%line - %msg%n
        
    
    
        
        
    



maven:
1.7.18

            org.slf4j
            log4j-over-slf4j
            ${slf4j.version}
            runtime
        
        
        
            org.slf4j
            jcl-over-slf4j
            ${slf4j.version}
            runtime
        
        
        
            org.slf4j
            jul-to-slf4j
            ${slf4j.version}
            runtime
        

你可能感兴趣的:(logback配置单独打印日志)