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

Overhaul usage of logging #157

Open
okin opened this issue May 12, 2021 · 0 comments
Open

Overhaul usage of logging #157

okin opened this issue May 12, 2021 · 0 comments

Comments

@okin
Copy link
Collaborator

okin commented May 12, 2021

Is your feature request related to a problem? Please describe.
Most classes have log_level as their first param.
The class should not control how it's messages are logged.

Describe the solution you'd like
I'd expect the logging to be configured when running one of the scripts from CLI.
Classes should not require a log_level parameter.

Describe alternatives you've considered
I think using the standard logging system is without good alternatives.
I would like to keep it but have it restructured.

Additional context
Python's logging cookbook has some good insights into how to set up your loggers.

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