How to collect thread.id as an attribute to logs? #6310
Closed
victorChou1024
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I follow the docs at https://signoz.io/docs/userguide/collecting_application_logs_otel_sdk_java/#settings-for-appender-instrumentation-based-on-the-logging-library.
And my startup shell is as follow:
java -javaagent:./${AGENT_FILE} -jar helloworld-0.0.1-SNAPSHOT.jar -Dotel.instrumentation.logback-appender.experimental-log-attributes=true
but i can not get the thread.id field at frontend.
My source codes import no otel libs. Did i miss some configs or something?
Beta Was this translation helpful? Give feedback.
All reactions