spring boot 配置日志按日志文件大小切割 (通过xml配置)



    
    
    
    
    
    

    

    
    
        
            ${log.pattern}
        
    

    
    
        ${log.path}/${projectname}.log
        
        
            
            ${log.path}/${projectname}.%d{yyyy-MM-dd}.%i.log
            
            100MB
            60
            20GB
        
        
            %msg%n
        
    
    
    
        
        
    

你可能感兴趣的:(笔记,spring,boot,xml,后端)