From 466a2ff20d42604812a908eed2ec28b86d9fc8bf Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Wed, 6 Jun 2018 10:17:32 -0400 Subject: [PATCH 1/2] Clarify location of logging configuration in docs. Fixes #107. --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index fc316ef7..77edc054 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -216,6 +216,12 @@ org.springframework.cloud.bootstrap.BootstrapConfiguration=sample.custom.CustomP then the "customProperty" `PropertySource` will show up in any application that includes that jar on its classpath. +=== 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 will listen for an `EnvironmentChangeEvent` and react From edb2f9ad2dc4027ee99cc7fa00688ef24e830c94 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Thu, 7 Jun 2018 14:27:30 -0400 Subject: [PATCH 2/2] Add boot autoconfigure processor. Fixes #377 --- spring-cloud-commons/pom.xml | 5 +++++ spring-cloud-context/pom.xml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/spring-cloud-commons/pom.xml b/spring-cloud-commons/pom.xml index c091e904..95603da1 100644 --- a/spring-cloud-commons/pom.xml +++ b/spring-cloud-commons/pom.xml @@ -108,6 +108,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 b400a1b9..09e625c2 100644 --- a/spring-cloud-context/pom.xml +++ b/spring-cloud-context/pom.xml @@ -48,6 +48,11 @@ spring-integration-jmx true + + org.springframework.boot + spring-boot-autoconfigure-processor + true + org.springframework.boot spring-boot-starter-test