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

FIX: Passing MDC through background-executor #1102

Merged
merged 1 commit into from
Aug 31, 2017

Conversation

rPraml
Copy link
Contributor

@rPraml rPraml commented Aug 30, 2017

We use SLF4J and we put some information in the MDC (current user and so on)
This information is not available to the changelog-log writer as it writes the logs in the background

This fix copies the current MDC-map to the background tasks from where they are invoked

@rbygrave rbygrave added this to the 10.4.4 milestone Aug 31, 2017
@rbygrave rbygrave added the bug label Aug 31, 2017
@rbygrave rbygrave merged commit a9b7bb2 into ebean-orm:master Aug 31, 2017
@rPraml rPraml deleted the fix/pass-mdc branch August 31, 2017 10:24
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.

2 participants