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

Allow disabling default logging handlers #251

Merged
merged 2 commits into from
Aug 18, 2021

Conversation

unode
Copy link
Collaborator

@unode unode commented Aug 17, 2021

mmpy_bot doesn't check if logging listeners or handlers already exist before registering new ones. This PR makes it optional.
Defaults to enabled logging for backwards compatibility.

The motivation for this change is to allow the user to configure their own logging settings. As-is, they will most likely end up with duplicated logging messages.

@codeclimate
Copy link

codeclimate bot commented Aug 17, 2021

Code Climate has analyzed commit 9412cf1 and detected 0 issues on this pull request.

View more on Code Climate.

@attzonko attzonko merged commit 170da0c into attzonko:main Aug 18, 2021
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.

2 participants