Browse Source

Clarify in docs that @PropertySource is parsed late

Fixes gh-970
pull/972/head
Dave Syer 12 years ago
parent
commit
84633dae00
  1. 5
      spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

5
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

@ -723,7 +723,10 @@ As with console output, `ERROR`, `WARN` and `INFO` level messages are logged by @@ -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:

Loading…
Cancel
Save