From d2cfcb0c2de58371a5de7769fa9b804ce3179e58 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Sat, 22 Nov 2014 16:57:42 +0000 Subject: [PATCH] Fix formatting --- .../main/asciidoc/spring-cloud-netflix.adoc | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 011344cb..a65bc366 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -176,6 +176,31 @@ springBoot { ---- ==== +[NOTE] +==== +The Eureka server is tied to log4j and doesn't work with logback, +so the dependency configuration +has to be tweaked compared to a normal Spring Boot app. The +`spring-cloud-starter-eureka-server` does this for you, but if you +add logback transitively through another dependency you will need to +exclude it manually, e.g. in Maven + +.pom.xml +[source,xml,indent=0] +---- + + org.springframework.boot + spring-boot-starter-web + + + spring-boot-starter-logging + org.springframework.boot + + + +---- +==== + === High Availability, Zones and Regions The Eureka server does not have a backend store, but the service