Browse Source

日志调整

zouxuan 1 year ago
parent
commit
0ac5af43fa
1 changed files with 4 additions and 12 deletions
  1. 4 12
      mec-application/src/main/resources/logback-spring.xml

+ 4 - 12
mec-application/src/main/resources/logback-spring.xml

@@ -113,21 +113,13 @@
 
 
     <!--生产环境:输出到文件 -->
     <!--生产环境:输出到文件 -->
     <springProfile name="prod">
     <springProfile name="prod">
-        <root level="INFO">
-            <appender-ref ref="file"/>
-        </root>
-        <root level="ERROR">
-            <appender-ref ref="plumelog" />
-        </root>
+        <appender-ref ref="file"/>
+        <appender-ref ref="plumelog" />
     </springProfile>
     </springProfile>
     <!--生产环境:输出到文件 -->
     <!--生产环境:输出到文件 -->
     <springProfile name="pre">
     <springProfile name="pre">
-        <root level="INFO">
-            <appender-ref ref="file"/>
-        </root>
-        <root level="ERROR">
-            <appender-ref ref="plumelog" />
-        </root>
+        <appender-ref ref="file"/>
+        <appender-ref ref="plumelog" />
     </springProfile>
     </springProfile>
 
 
 </configuration>
 </configuration>