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

Fix default log level NOTSET #32

Closed
mkcn opened this issue Jan 14, 2021 · 1 comment
Closed

Fix default log level NOTSET #32

mkcn opened this issue Jan 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mkcn
Copy link
Owner

mkcn commented Jan 14, 2021

The current default level for logs is NOTSET.
The goal was to disable logs with this, but due to a incorrect interpretation of the value we now have log enabled in full mode by default.

More info: https://docs.python.org/2/library/logging.html#levels

@mkcn mkcn added the bug Something isn't working label Jan 14, 2021
@mkcn
Copy link
Owner Author

mkcn commented Jan 14, 2021

Need to replace this:
# log options: NOTSET > CRITICAL > ERROR > WARNING > INFO > DEBUG
with:
# log options: NONE, CRITICAL, ERROR, WARNING, INFO, DEBUG
# note: in DEBUG mode the size of your log file may grow rapidly
where NONE = 60

mkcn added a commit that referenced this issue Jan 16, 2021
@mkcn mkcn closed this as completed Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant