Reduce ConfigFileApplicationListener logs
Previously, all attempts to log a configuration file were logged at DEBUG level which lead to a lot of noise as Spring Boot looks in many places by default. We now only log the files that are effectively found at DEBUG level and all failed attempts at TRACE level. Closes gh-3129
This commit is contained in:
@@ -185,6 +185,9 @@ No matter what you set in the environment, Spring Boot will always load
|
||||
`application.properties` as described above. If YAML is used then files with the '`.yml`'
|
||||
extension are also added to the list by default.
|
||||
|
||||
Spring Boot logs the configuration files that are loaded at `DEBUG` level and the
|
||||
candidates it has not found at `TRACE` level.
|
||||
|
||||
See {sc-spring-boot}/context/config/ConfigFileApplicationListener.{sc-ext}[`ConfigFileApplicationListener`]
|
||||
for more detail.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user