pring-boot.1.5.3.1.RELEASE.source-code.logback-spring.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xml> <!-- org.springframework.boot.logging.logback.LogbackLoggingSystem --> <configuration debug="false" scan="false"> <logger name="org.springframework.core.env.PropertySourcesPropertyResolver" level="ERROR" /> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <springProfile name="!development"> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}}/spring.log}" /> <include resource="org/springframework/boot/logging/logback/file-appender.xml" /> <logger name="p6spy" level="WARN" /> </springProfile> <include resource="org/springframework/boot/logging/logback/console-appender.xml" /> <springProfile name="development"> <logger name="p6spy" level="INFO" /> <logger name="net.ttddyy.dsproxy.listener.logging.SLF4JQueryLoggingListener" level="TRACE" /> <logger name="org.springframework.aop.interceptor.CustomizableTraceInterceptor" level="TRACE" /> </springProfile> <springProperty name="logging.level.root" source="logging.level.root" defaultValue="INFO" /> <springProperty name="logging.appender" source="logging.appender" defaultValue="CONSOLE" /> <root level="${LOG_LEVEL_ROOT:-${logging.level.root}}"> <appender-ref ref="${LOG_APPENDER:-${logging.appender}}" /> </root> <jmxConfigurator /> </configuration>