-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logback OpenTelemetryAppender does not capture logger name as attribute #11670
Comments
With the Logback OpenTelemetryAppender, you can have access to the logger name from the instrumentation scope of the log record. |
thanks for the attention, I will check and reply |
in your otel-collector yaml config you can add transform
|
This has been automatically marked as stale because it has been marked as needing author feedback and has not had any activity for 7 days. It will be closed automatically if there is no response from the author within 7 additional days from this comment. |
thanks, it was a problem on our server side, where instrumentation scope name was ignored |
OpenTelemetryAppender
does not allow us to enrich log records with logger name.The only possible approach is to have the logger name attribute in log record is to use MDC, which is overhead imho.
We can add the functionality to the
OpenTelemetryAppender
to enrich log record with logger name attribute.The text was updated successfully, but these errors were encountered: