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

Add configuration option to EventJsonLayoutBaseFactory to flatten MDC #2293

Merged
merged 1 commit into from Mar 6, 2018

Conversation

Projects
None yet
2 participants
@toadzky
Contributor

toadzky commented Mar 6, 2018

Problem:

My logging needs are to have the MDC in the root JSON object, not nested under the key mdc.

Solution:

A configuration option (defaulting to false) that allows the user the flatten MDC into the root object.

@toadzky toadzky referenced this pull request Mar 6, 2018

Closed

Json Log File Appender #1451

@jplock

jplock approved these changes Mar 6, 2018

@jplock jplock added the improvement label Mar 6, 2018

@jplock jplock added this to the 1.3.0 milestone Mar 6, 2018

@jplock jplock merged commit 05581db into dropwizard:master Mar 6, 2018

3 checks passed

ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment