File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1308,7 +1308,7 @@ A typical custom `logback.xml` file would look something like this:
1308
1308
----
1309
1309
<?xml version="1.0" encoding="UTF-8"?>
1310
1310
<configuration>
1311
- <include resource="org/springframework/boot/logging/logback/default .xml"/>
1311
+ <include resource="org/springframework/boot/logging/logback/defaults .xml"/>
1312
1312
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
1313
1313
<root level="INFO">
1314
1314
<appender-ref ref="CONSOLE" />
@@ -1325,7 +1325,7 @@ Your logback configuration file can also make use of System properties that the
1325
1325
* `$\{LOG_EXCEPTION_CONVERSION_WORD}`: Whether `logging.exception-conversion-word` was set in Boot's external configuration.
1326
1326
1327
1327
Spring Boot also provides some nice ANSI color terminal output on a console (but not in a log file) by using a custom Logback converter.
1328
- See the `CONSOLE_LOG_PATTERN` in the `default .xml` configuration for an example.
1328
+ See the `CONSOLE_LOG_PATTERN` in the `defaults .xml` configuration for an example.
1329
1329
1330
1330
If Groovy is on the classpath, you should be able to configure Logback with `logback.groovy` as well.
1331
1331
If present, this setting is given preference.
You can’t perform that action at this time.
0 commit comments