How to Properly Configure Log4j2 gRPC Reporter for SkyWalking? #13606
Unanswered
lizeyuht22-hash
asked this question in
Q&A
Replies: 1 comment
-
|
You're using async logging, so they are not in the same context. You could refer to https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/application-toolkit-log4j-2.x/#grpc-reporter Maybe you need an extra contextSelector config. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Problem Description
I want to be able to view the trajectory and corresponding logs on SkyWalking. After adjusting the configuration, the log content is now visible on SkyWalking, but the endpoint and trace ID are not captured in the log details. Furthermore, I cannot associate the tracing with the corresponding logs.
Current Configuration
SkyWalking UI Image
Question
How can I capture the endpoint and trace ID, and track the corresponding logs?
Beta Was this translation helpful? Give feedback.
All reactions