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

Allow string numeric log levels #1507

Merged
merged 1 commit into from
Dec 10, 2020
Merged

Allow string numeric log levels #1507

merged 1 commit into from
Dec 10, 2020

Conversation

adrianpanicek
Copy link
Contributor

This allows for log level to be string numeric in case of setting from environment variables or other sources with ambivalent type

@Seldaek Seldaek changed the base branch from master to main December 9, 2020 22:33
@Seldaek
Copy link
Owner

Seldaek commented Dec 10, 2020

Right, good fix I guess although in those cases I'd prefer using the human readable name like ERROR instead of 400 because nobody knows what that means.

@Seldaek Seldaek added the Bug label Dec 10, 2020
@Seldaek Seldaek added this to the 2.x milestone Dec 10, 2020
@Seldaek Seldaek merged commit 6165cdc into Seldaek:main Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants