소스 검색

日志调整

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>