Skip to content
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 MDC auto-instrumentation gets muzzled and does not work #1208

Merged

Conversation

mateuszrzeszutek
Copy link
Member

Resolves #1201

public static void onExit(
@Advice.This ILoggingEvent event,
@Advice.Return(typing = Typing.DYNAMIC, readOnly = false) Map<String, String> contextData) {
if (contextData != null && contextData.containsKey("traceId")) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll replace "traceId" and others either here or in #1200 - depending on which one gets merged first.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

Mateusz Rzeszutek and others added 3 commits September 16, 2020 10:23
…entelemetry/instrumentation/auto/logback/v1_0_0/LoggingEventInstrumentation.java

Co-authored-by: Trask Stalnaker <[email protected]>
@mateuszrzeszutek mateuszrzeszutek force-pushed the fix-logback-auto-instrumentation branch from 6f4d05d to 3e560f6 Compare September 16, 2020 08:23
@iNikem iNikem merged commit d952354 into open-telemetry:master Sep 16, 2020
@mateuszrzeszutek mateuszrzeszutek deleted the fix-logback-auto-instrumentation branch November 18, 2022 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logback MDC auto-instrumentation gets muzzled and does not work
4 participants