mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-03 17:42:20 +08:00
chore(logback-spring.xml): 修改控制台打印日志格式
This commit is contained in:
parent
3af68bcc7e
commit
523df3a226
@ -8,6 +8,9 @@
|
||||
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
|
||||
<property name="LOG_HOME" value="/logs/${APP_NAME}"/>
|
||||
|
||||
<!-- 输出格式 -->
|
||||
<property name="CONSOLE_LOG_PATTERN" value="%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(%t){magenta} %clr(---){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx"/>
|
||||
|
||||
<!--1. 输出到控制台-->
|
||||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<!-- <withJansi>true</withJansi>-->
|
||||
|
Loading…
Reference in New Issue
Block a user