log日志格式

${log.pattern}

${log.filePath}/debug.log

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

${log.maxHistory}

${log.pattern}

DEBUG

ACCEPT

DENY

class="ch.qos.logback.core.rolling.RollingFileAppender">

${log.filePath}/info.log

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

${log.maxHistory}

${log.pattern}

INFO

ACCEPT

DENY

class="ch.qos.logback.core.rolling.RollingFileAppender">

${log.filePath}/error.log

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

${log.maxHistory}

${log.pattern}

ERROR

ACCEPT

DENY

————————————————

版权声明:本文为CSDN博主「石硕页」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/u014209205/article/details/80830904

你可能感兴趣的:(log日志格式)