refactor(logging): 修改控制台日志输出格式
- 在 PatternLayout 中增加了日志记录器名称和方法信息 - 调整了日志级别格式,去除了多余的空格
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</RollingFile>
|
||||
|
||||
<Console name="Console" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="[%t] [%d{yyyy-MM-dd HH:mm:ss}] [%-5level] %msg%n%throwable"/>
|
||||
<PatternLayout pattern="[%t] [%d{yyyy-MM-dd HH:mm:ss}] [%level] [%logger-%method()] %msg%n%throwable"/>
|
||||
</Console>
|
||||
</Appenders>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user