-
My logback.xml defines a custom logger that has additivity="false", and the OtelAppender is configured for the root only.
|
Beta Was this translation helpful? Give feedback.
Answered by
den850x
Dec 26, 2024
Replies: 1 comment 1 reply
-
Please provide a minimal application that reproduces your issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turned out, my issue was caused by running both OTEL Logback Appender and OTEL JavaAgent. The latter had logback integration enabled by default.
The log output from
MyPrivateLogger
was picked up by the OTEL Java Agent.I've disabled its logback integration by setting
otel.instrumentation.logback-appender.enabled=false
, so now I only have OTEL Logback Appender running in my app. This fixed my issue.Sorry for the confusion!