Skip to content

Commit d006178

Browse files
committed
Merge pull request #18295 from brabenetz
* pr/18295: Polish "Fix typo in logback example" Fix typo in logback example Closes gh-18295
2 parents f9d94c6 + 3c4449b commit d006178

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-docs/src/main/asciidoc

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ A typical custom `logback.xml` file would look something like this:
13081308
----
13091309
<?xml version="1.0" encoding="UTF-8"?>
13101310
<configuration>
1311-
<include resource="org/springframework/boot/logging/logback/default.xml"/>
1311+
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
13121312
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
13131313
<root level="INFO">
13141314
<appender-ref ref="CONSOLE" />
@@ -1325,7 +1325,7 @@ Your logback configuration file can also make use of System properties that the
13251325
* `$\{LOG_EXCEPTION_CONVERSION_WORD}`: Whether `logging.exception-conversion-word` was set in Boot's external configuration.
13261326

13271327
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.
13291329

13301330
If Groovy is on the classpath, you should be able to configure Logback with `logback.groovy` as well.
13311331
If present, this setting is given preference.

0 commit comments

Comments
 (0)