Skip to content

OTEL logback appender ignores additivity? #12943

Answered by den850x
den850x asked this question in Q&A
Discussion options

You must be logged in to vote

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!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@den850x
Comment options

Answer selected by den850x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants