forked from rongchao/epmet-cloud-rizhao
38 changed files with 90 additions and 36 deletions
@ -0,0 +1,17 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
|
||||
|
<!-- |
||||
|
Base logback configuration provided for compatibility with Spring Boot 1.1 |
||||
|
从spring/logging包复制过来的,主要是屏蔽了/tmp/spring.log文件的生成(与我们自定义的重复,且不会滚动更新)。其他服务都改用引用此文件。 |
||||
|
--> |
||||
|
|
||||
|
<included> |
||||
|
<include resource="org/springframework/boot/logging/logback/defaults.xml" /> |
||||
|
<!--<property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}}/spring.log}"/>--> |
||||
|
<include resource="org/springframework/boot/logging/logback/console-appender.xml" /> |
||||
|
<include resource="org/springframework/boot/logging/logback/file-appender.xml" /> |
||||
|
<root level="INFO"> |
||||
|
<appender-ref ref="CONSOLE" /> |
||||
|
<appender-ref ref="FILE" /> |
||||
|
</root> |
||||
|
</included> |
Loading…
Reference in new issue