Skip to content

Fix condition for checking root logger handlers #53

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

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

tkrille
Copy link
Contributor

@tkrille tkrille commented Aug 5, 2020

Seems to got broken when moving the condition upwards. Not a big issue, but it logs a wrong message, which is annoying :) I've also wondered if we should return from the method immediately, if the root logger has no handlers. At least that was more or less the behavior before moving up the conditional.

@bobbui
Copy link
Owner

bobbui commented Aug 5, 2020

@tkrille your argument is absolutely valid, I will tweak this a little bit more per your recommendation and release a new version

@bobbui bobbui merged commit 81e9957 into bobbui:master Aug 5, 2020
@bobbui
Copy link
Owner

bobbui commented Aug 5, 2020

1.2.6 release with your fix, thanks for the contribution

bobbui pushed a commit that referenced this pull request Aug 5, 2020
@tkrille tkrille deleted the fix-config-root-logger branch August 9, 2020 15:47
@tkrille
Copy link
Contributor Author

tkrille commented Aug 9, 2020

You're very welcome. Thanks for the fast release :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants