We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42fd320 commit f7cb98eCopy full SHA for f7cb98e
2 files changed
simple-application/src/main/resources/application.yml
@@ -31,7 +31,7 @@ mybatis-plus:
31
# log config
32
logging:
33
file:
34
- path: c:/logs
+ path: /log/sra
35
36
# simple-rest-admin 配置
37
sra:
simple-application/src/main/resources/logback-spring.xml
@@ -22,7 +22,7 @@
22
23
<!--输出格式-->
24
<property name="consolePattern"
25
- value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-15thread] %highlight(%-5level) %cyan(%-50logger{50}) : %msg%n" />
+ value="%red(%d{yyyy-MM-dd HH:mm:ss.SSS}) %green([%-15thread]) %highlight(%-5level) %cyan(%-50logger{50}) : %msg%n" />
26
<!--不带色彩的格式用以输出到文件-->
27
<property name="filePattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-15thread] %-5level %-50logger{50} : %msg%n" />
28
0 commit comments