Notify the use of logback specific system property

Logback documentation explains how to initialize the logging system and
namely how the `logback.configurationFile` system property can be used to
specify the configuration file to use.

Spring Boot has an abstraction on top of that. A user can define the
`logging.path` property regardless of the logging infrastructure it is
using.

Users following the logback documentation can be confused at first so
we're not logging a warning when we found out that the logback specific
property has been specified.

Closes gh-2382
This commit is contained in:
Stephane Nicoll
2015-10-19 14:37:12 +02:00
parent e4230e61d7
commit 32b32b7142
3 changed files with 25 additions and 0 deletions

View File

@@ -1019,6 +1019,9 @@ NOTE: The logging system is initialized early in the application lifecycle and a
logging properties will not be found in property files loaded via `@PropertySource`
annotations.
TIP: Logging properties are independent of the actual logging infrastructure. As a
result, specific configuration keys (such as `logback.configurationFile` for Logback)
are not managed by spring Boot.
[[boot-features-custom-log-levels]]