mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
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:
parent
18afe8bd0c
commit
495a79c324
@ -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]]
|
||||
|
Loading…
Reference in New Issue
Block a user