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

don't override the root logger #432

Merged
merged 1 commit into from
Mar 17, 2021
Merged

don't override the root logger #432

merged 1 commit into from
Mar 17, 2021

Conversation

domanchi
Copy link
Contributor

Summary

With this change, the detect-secrets logger will not use the root logger. I've tested this by running:

detect-secrets -vv scan

and the logs seem to still work. This way, when we modify the debug level, it won't cause all other packages (that use the root logger) to show debug logs too.

Copy link
Member

@calvinli calvinli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@domanchi domanchi merged commit 6bf8790 into master Mar 17, 2021
@domanchi domanchi deleted the improved-logs branch March 17, 2021 22:11
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request May 26, 2021
Co-authored-by: detect-secrets-updater <detect-secrets-updater@ibm.com>
Co-authored-by: JUSTIN EYSTER <Justin.Eyster@ibm.com>
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