Sync docs from 1.1.x to gh-pages
This commit is contained in:
@@ -1385,7 +1385,7 @@ If using Zipkin or Stream, configure the percentage of spans exported using <cod
|
||||
<td class="content">
|
||||
the SLF4J MDC is always set and logback users will immediately see the trace and span ids in logs per the example
|
||||
above. Other logging systems have to configure their own formatter to get the same result. The default is
|
||||
<code>logging.pattern.level</code> set to <code>%clr(%5p) %clr([${spring.application.name:},%X{X-B3-TraceId:-},%X{X-B3-SpanId:-},%X{X-Span-Export:-}]){yellow}</code>
|
||||
<code>logging.pattern.level</code> set to <code>%5p [${spring.zipkin.service.name:${spring.application.name:-}},%X{X-B3-TraceId:-},%X{X-B3-SpanId:-},%X{X-Span-Export:-}]</code>
|
||||
(this is a Spring Boot feature for logback users).
|
||||
<strong>This means that if you’re not using SLF4J this pattern WILL NOT be automatically applied</strong>.
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user