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

Clean up logging levels #26

Closed
glennmatthews opened this issue Jan 14, 2015 · 1 comment
Closed

Clean up logging levels #26

glennmatthews opened this issue Jan 14, 2015 · 1 comment
Assignees

Comments

@glennmatthews
Copy link
Owner

Python standard seems to be to have three 'levels' of verbosity:

--quiet: WARN/ERROR
(default): INFO/WARN/ERROR
--verbose: DEBUG/INFO/WARN/ERROR

COT's current behavior:
(default): ERROR
-v: WARN/ERROR
-vv: INFO/WARN/ERROR
-vvv: DEBUG/INFO/WARN/ERROR

We should follow the standard instead.

Additionally, the levels are not always used consistently - in particular the DEBUG messages are extremely verbose while the INFO messages are often lacking.

@glennmatthews
Copy link
Owner Author

Could be nice to have a "verbose" level between "INFO" and "DEBUG", as in https://pypi.python.org/pypi/verboselogs

Wonder if we can also benefit from https://pypi.python.org/pypi/coloredlogs/ by the same author.

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

No branches or pull requests

1 participant