diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index d366dc69..93534e2e 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -140,6 +140,12 @@ If you create a jar with this class in it and then add a `META-INF/spring.factor org.springframework.cloud.bootstrap.BootstrapConfiguration=sample.custom.CustomPropertySourceLocator ---- +=== Logging Configuration + +If you are going to use Spring Boot to configure log settings than +you should place this configuration in `bootstrap.[yml | properties] +if you would like it to apply to all events. + === Environment Changes The application listens for an `EnvironmentChangeEvent` and reacts to the change in a couple of standard ways (additional `ApplicationListeners` can be added as `@Beans` by the user in the normal way). diff --git a/spring-cloud-commons/pom.xml b/spring-cloud-commons/pom.xml index 5b2ef897..747849bd 100644 --- a/spring-cloud-commons/pom.xml +++ b/spring-cloud-commons/pom.xml @@ -113,6 +113,11 @@ spring-boot-starter-aop true + + org.springframework.boot + spring-boot-autoconfigure-processor + true + org.springframework.retry spring-retry diff --git a/spring-cloud-context/pom.xml b/spring-cloud-context/pom.xml index d6afb487..769ad552 100644 --- a/spring-cloud-context/pom.xml +++ b/spring-cloud-context/pom.xml @@ -55,6 +55,11 @@ spring-integration-jmx true + + org.springframework.boot + spring-boot-autoconfigure-processor + true + org.springframework.boot spring-boot-starter-test