Document logging properties with @PropertySource
Add a note to the logging documentation to point out a potential gotcha. Fixes gh-2709
This commit is contained in:
@@ -867,6 +867,10 @@ relative to the current directory.
|
||||
Log files will rotate when they reach 10 Mb and as with console output, `ERROR`, `WARN`
|
||||
and `INFO` level messages are logged by default.
|
||||
|
||||
NOTE: The logging system is initialized early in the application lifecycle and as such
|
||||
logging properties will not be found in property files loaded via `@PropertySource`
|
||||
annotations.
|
||||
|
||||
|
||||
|
||||
[[boot-features-custom-log-levels]]
|
||||
|
||||
Reference in New Issue
Block a user