Browse Source

chore: 移除错误日志颜色高亮

weijianghai 2 years ago
parent
commit
2d89f9bf2c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/logback-spring.xml

+ 1 - 1
src/main/resources/logback-spring.xml

@@ -33,7 +33,7 @@
             <totalSizeCap>20GB</totalSizeCap>
         </rollingPolicy>
         <encoder>
-            <Pattern>%d %highlight(%-5level) %yellow(%X{traceId}) %magenta([%thread]) %cyan(%logger:%line) %msg%n</Pattern>
+            <Pattern>%d %-5level %X{traceId} [%thread] %logger:%line %msg%n</Pattern>
             <charset>UTF-8</charset>
         </encoder>
         <filter class="ch.qos.logback.classic.filter.LevelFilter">