zouxuan 1 سال پیش
والد
کامیت
90c24094b5
1فایلهای تغییر یافته به همراه8 افزوده شده و 4 حذف شده
  1. 8 4
      mec-application/src/main/resources/logback-spring.xml

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

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