File tree 1 file changed +16
-1
lines changed 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 4
4
<!--
5
5
See for details:
6
6
http://docs.spring.io/spring-boot/docs/1.4.x/reference/html/howto-logging.html#howto-configure-logback-for-logging
7
+ https://github.com/spring-projects/spring-boot/blob/v1.4.3.RELEASE/spring-boot/src/main/resources/org/springframework/boot/logging/logback/base.xml
7
8
-->
8
- <include resource =" org/springframework/boot/logging/logback/base.xml" />
9
+
10
+ <!--
11
+ Here, instead of including org/springframework/boot/logging/logback/base.xml we're copying&pasting its content.
12
+ This allows us to commenting out part of the configuration that outputs logs to a log file.
13
+ -->
14
+ <!-- Begin of org/springframework/boot/logging/logback/base.xml content -->
15
+ <include resource =" org/springframework/boot/logging/logback/defaults.xml" />
16
+ <!-- <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}}/spring.log}"/>-->
17
+ <include resource =" org/springframework/boot/logging/logback/console-appender.xml" />
18
+ <!-- <include resource="org/springframework/boot/logging/logback/file-appender.xml" />-->
19
+ <root level =" INFO" >
20
+ <appender-ref ref =" CONSOLE" />
21
+ <!-- <appender-ref ref="FILE" />-->
22
+ </root >
23
+ <!-- End of org/springframework/boot/logging/logback/base.xml content -->
9
24
10
25
<!-- HtmlUnit classes -->
11
26
<logger name =" com.gargoylesoftware.htmlunit.html.InputElementFactory" level =" WARN" >
You can’t perform that action at this time.
0 commit comments