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

Add additivity setting to LoggerConfiguration #1215

Merged
merged 1 commit into from
Aug 13, 2015
Merged

Add additivity setting to LoggerConfiguration #1215

merged 1 commit into from
Aug 13, 2015

Conversation

nagl-temporal
Copy link

This is related to #868 and 7ab73cd

With additive=true (the default), a logger writes to its appender -and- any appenders hierarchically above it, including the root logger. For true redirection as described in issue 868, we need to be able to set additive=false so a logger writes to its appender only.

@lehcim
Copy link
Contributor

lehcim commented Aug 13, 2015

Last night I was wondering how to configure Dropwizard logging with different file appenders and additivity setting. Today morning I'm reading your PR ...
Thank you very much, you made my day!

@joschi
Copy link
Member

joschi commented Aug 13, 2015

LGTM. Thanks!

@joschi joschi added this to the 0.9.0 milestone Aug 13, 2015
joschi added a commit that referenced this pull request Aug 13, 2015
Add additivity setting to LoggerConfiguration
@joschi joschi merged commit 7bbdb86 into dropwizard:master Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants