Browse Source

日志调整

zouxuan 1 năm trước cách đây
mục cha
commit
5bb7cde848
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      mec-application/src/main/resources/logback-spring.xml

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

@@ -118,8 +118,10 @@
     </springProfile>
     <!--生产环境:输出到文件 -->
     <springProfile name="pre">
-        <appender-ref ref="file"/>
-        <appender-ref ref="plumelog" />
+        <root level="INFO">
+            <appender-ref ref="stdout"/>
+            <appender-ref ref="file"/>
+        </root>
     </springProfile>
 
 </configuration>