How can I forward my sl4j logs which are generated in my spring microservices to otel-collector ? #11872
-
Hi Fellow Developer, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 17 replies
-
sl4j is a logging facade, actual logging is performed by an logging framework such as logback, log4j etc. Check what is the actual logging framework that you use. |
Beta Was this translation helpful? Give feedback.
Trace and span id are part of the otlp payload. Only when the log message is emitted within a trace will it have a trace/span id. You can confirm this by turning on verbose output in otel collector https://opentelemetry.io/docs/collector/troubleshooting/ If you don't see the trace/span id in your observability backend but see it in the collector then please seek assistance from appropriate channels for your observability backend.