From 0091c047202037d7502a4fef119a1326f035afae Mon Sep 17 00:00:00 2001 From: Harald Brabenetz Date: Fri, 20 Sep 2019 23:17:33 +0200 Subject: [PATCH 1/2] Fix typo in logback example See gh-18295 --- .../spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 2baa14365fd..6600455a57f 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1308,7 +1308,7 @@ A typical custom `logback.xml` file would look something like this: ---- - + From 3c4449bf0ebdb57e19b427874ba43cd42347790c Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 20 Sep 2019 14:38:57 -0700 Subject: [PATCH 2/2] Polish "Fix typo in logback example" See gh-18295 --- .../spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 6600455a57f..91210caa58a 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1325,7 +1325,7 @@ Your logback configuration file can also make use of System properties that the * `$\{LOG_EXCEPTION_CONVERSION_WORD}`: Whether `logging.exception-conversion-word` was set in Boot's external configuration. 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. -See the `CONSOLE_LOG_PATTERN` in the `default.xml` configuration for an example. +See the `CONSOLE_LOG_PATTERN` in the `defaults.xml` configuration for an example. If Groovy is on the classpath, you should be able to configure Logback with `logback.groovy` as well. If present, this setting is given preference.