浏览代码

日志调整

zouxuan 1 年之前
父节点
当前提交
5bb7cde848
共有 1 个文件被更改,包括 4 次插入2 次删除
  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>