Add TraceID and SpanID to LogBack #12163
Answered
by
laurit
baole229801
asked this question in
Q&A
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
Answered by
laurit
Sep 4, 2024
Replies: 2 comments
-
Trace and span id are available through MDC |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
baole229801
-
Thank @laurit , I now con see the trace_id in log. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trace and span id are available through MDC
opentelemetry-java-instrumentation/instrumentation/logback/logback-mdc-1.0/library/README.md
Line 42 in d9f7030