Thanks to visit codestin.com
Credit goes to github.com

Skip to content

don't override the root logger#432

Merged
domanchi merged 1 commit into
masterfrom
improved-logs
Mar 17, 2021
Merged

don't override the root logger#432
domanchi merged 1 commit into
masterfrom
improved-logs

Conversation

@domanchi
Copy link
Copy Markdown
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
Copy Markdown
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 <[email protected]>
Co-authored-by: JUSTIN EYSTER <[email protected]>
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