From 84659685d66f0d39514e2de859dc8da64778fff5 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Thu, 19 Jul 2018 10:28:22 -0400 Subject: [PATCH] Add note about custom logging prefix --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index db605322..36e576aa 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -146,6 +146,9 @@ 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. +NOTE: For Spring Cloud to initialize logging configuration properly you cannot use a custom prefix. For example, +using `custom.loggin.logpath` will not be recognized by Spring Cloud when initializing the logging system. + === 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).