Skip to content

sentry-logback + tags aren't logged in other threads. #792

Description

@jeacott1

hi all,
I'm trying to add tags to every sentry event via the sentry-logback (1.7.28) integration.
the MDC.put(..) understandably only works on the thread its invoked on,
but Sentry.getContext().addTag(name, value); seems to suffer from the same problem.
do I really have to wrap all my executors to get this working? what about 3rd party libs like quartz etc that also use threads?
Did I miss something? how do I tag all log events in my application?

thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions