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

Config: Resolve log_level setting input value to Logger constant for severity level #261

Open
olleolleolle opened this issue Oct 20, 2016 · 1 comment

Comments

@olleolleolle
Copy link
Contributor

olleolleolle commented Oct 20, 2016

This is a feature request: for config option log_level, always convert given input to a Logger constant before setting the value.

The Config log_level setting currently does no resolving, but expects it to be a Logger-compatible level setting. It is used in .setup_logger.

Use-case: call the hutch CLI with an ENV variable set to HUTCH_LOG_LEVEL=DEBUG hutch

@michaelklishin
Copy link
Member

This is a follow-up to #260.

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

No branches or pull requests

2 participants