Updated Sleuth docs with attaching docs zip

This commit is contained in:
Marcin Grzejszczak
2020-04-01 10:20:12 +02:00
parent 9dbdbb6ca1
commit 7b420a98e6
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -71,6 +71,10 @@
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>