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

Set LoggerContext in LoggingEvent #7835

Merged
merged 2 commits into from
Nov 4, 2023

Conversation

zUniQueX
Copy link
Member

@zUniQueX zUniQueX commented Nov 3, 2023

Logback 1.4.8 refactored the handling of MDC and now requires a LoggerContext to be set in a LoggingEvent. Else a NPE is thrown.

https://logback.qos.ch/news.html#1.3.8

Fixes #7830

@zUniQueX zUniQueX added the bug label Nov 3, 2023
@zUniQueX zUniQueX added this to the 4.0.4 milestone Nov 3, 2023
@zUniQueX zUniQueX self-assigned this Nov 3, 2023
@zUniQueX zUniQueX requested a review from a team as a code owner November 3, 2023 19:12
@joschi joschi merged commit 595946d into dropwizard:release/4.0.x Nov 4, 2023
12 checks passed
joschi pushed a commit that referenced this pull request Nov 4, 2023
Logback 1.4.8 refactored the handling of MDC and now requires a LoggerContext to be set in a LoggingEvent, otherwise an NPE is thrown.

Fixes #7830
joschi added a commit that referenced this pull request Nov 4, 2023
Co-authored-by: Steffen Nießing <36885591+zUniQueX@users.noreply.github.com>

Logback 1.4.8 refactored the handling of MDC and now requires a LoggerContext to be set in a LoggingEvent, otherwise an NPE is thrown.

Fixes #7830
Refs #7835
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropwizard 4.0.3 not logging request logs
3 participants