Commit 84633dae authored by Dave Syer's avatar Dave Syer

Clarify in docs that @PropertySource is parsed late

Fixes gh-970
parent d8eeba98
......@@ -723,7 +723,10 @@ As with console output, `ERROR`, `WARN` and `INFO` level messages are logged by
The various logging systems can be activated by including the appropriate libraries on
the classpath, and further customized by providing a suitable configuration file in the
root of the classpath, or in a location specified by the Spring `Environment` property
`logging.config`.
`logging.config`. (Note however that since logging is initialized *before* the `ApplicationContext
is created, it isn't possible to control logging from `@PropertySources` in Spring
`@Configuration` files. System properties and the conventional Spring Boot external
configuration files work just fine.)
Depending on your logging system, the following files will be loaded:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment