You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenTelemetryAppender.install iterates through all the loggers to find appenders where it should inject the sdk. When using an async appender though, OpenTelemetryAppender is referenced through the async appender rather than directly from a logger so the sdk does not get installed.
Describe the bug
OpenTelemetryAppender.install
iterates through all the loggers to find appenders where it should inject the sdk. When using an async appender though,OpenTelemetryAppender
is referenced through the async appender rather than directly from a logger so the sdk does not get installed.Steps to reproduce
Expected behavior
Appender references would be traversed recursively and the sdk installed on appenders that are only referenced from other appenders.
Actual behavior
Only appenders referenced directly from a logger are iterated. The following can workaround the issue, but it's non-obvious.
Javaagent or library instrumentation version
2.11
Environment
JDK: 17
OS: Ubuntu 23.10
Additional context
No response
The text was updated successfully, but these errors were encountered: