Sfoglia il codice sorgente

修改存入日志的报警等级

lixing 3 anni fa
parent
commit
7dc578d85c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/main/resources/logback-spring.xml

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

@@ -39,7 +39,7 @@ configuration 子节点为 appender、logger、root       -->
         <file>${LOG_HOME}/log.log</file>
         <!-- ThresholdFilter:临界值过滤器,过滤掉 TRACE 和 DEBUG 级别的日志 -->
         <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
-            <level>INFO</level>
+            <level>DEBUG</level>
         </filter>
         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
             <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">