From 7b420a98e6a05cff0322d76dc2d7bf9d7f2c02dc Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 1 Apr 2020 10:20:12 +0200 Subject: [PATCH] Updated Sleuth docs with attaching docs zip --- README.adoc | 5 ++++- docs/pom.xml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index c0292d04a..55971dcfb 100644 --- a/README.adoc +++ b/README.adoc @@ -700,10 +700,13 @@ NOTE: The SLF4J MDC is always set and logback users immediately see the trace an shown earlier. Other logging systems have to configure their own formatter to get the same result. The default is as follows: -`logging.pattern.level` set to `%5p [${spring.zipkin.service.name:${spring.application.name:-}},%X{X-B3-TraceId:-},%X{X-B3-SpanId:-},%X{X-Span-Export:-}]` +`logging.pattern.level` set to `%5p [${spring.zipkin.service.name:${spring.application.name:-}},%X{traceId:-},%X{spanId:-},%X{spanExportable:-}]` (this is a Spring Boot feature for logback users). If you do not use SLF4J, this pattern is NOT automatically applied. +IMPORTANT: Starting with version 3.0.0, the logging pattern has changed. +We've converted the MDC entries from B3 to non B3 keys (e.g. `X-B3-TraceId` to `traceId`). + == Building :jdkversion: 1.7 diff --git a/docs/pom.xml b/docs/pom.xml index dbff83b99..19cb29b95 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -71,6 +71,10 @@ maven-antrun-plugin + + org.codehaus.mojo + build-helper-maven-plugin +