-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
support for logback encoders has disappeared? #2217
Comments
Hello @jeacott1, there was a rewrite of the SDK in 2020. Seems like encoder support for logback got lost in the process. At least I couldn't find any deliberate decision to remove / not include it. I assume you'd like to have it back in there. We can add it to the backlog but unfortunately I can't tell you a timeline for it. |
@adinauer yes please. the logback appender is a very convenient way to capture all the things without worrying about the otherwise very thread centric nature of sentry. And the encoder made it possible to inject global, dynamic content. |
@jeacott1 MDC entries should land in the event context (see https://docs.sentry.io/platforms/java/guides/logback/usage/advanced-usage/). You may also convert them to tags (see sentry-java/sentry-samples/sentry-samples-logback/src/main/resources/logback.xml Lines 9 to 22 in bf18c0d
|
@adinauer thanks - I thought I'd seen that mdc was removed, glad to see that survives. I think there is a case for restoring the encoder option. |
@adinauer on a related issue that I don't seem to be getting my head around. |
@jeacott1 you should be able to have the IP set by the server by explicitly setting the user IP to Does that not work for you? |
@adinauer if I do that, wont I also get other user related data? - also, given that this is a pure serverside attribute, why cant I choose to see this information regardless of the client config? |
Closing as it has been implemented again in #2246 |
Problem Statement
A feature existed but appears to have been removed - why?
ref: #794
this PR introduced Encoder support for the sentry Logback appender, but the current code appears to have no trace of this merge.
what happened to it?
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: