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

flask logging: add NOTIFY_LOG_LEVEL_HANDLERS config variable #1185

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

risicle
Copy link
Member

@risicle risicle commented Jan 15, 2025

This allows the handler's log level to be set differently from NOTIFY_LOG_LEVEL, but it should continue to fall back to NOTIFY_LOG_LEVEL's value if not set explicitly.

This is a stopgap workaround to introduce a little bit of flexibility into our weirdly inflexible log setup (i.e. to make it possible to get some use out of NOTIFY_REQUEST_LOG_LEVEL without having to raise the global log level.

this allows the handler's log level to be set differently from
NOTIFY_LOG_LEVEL, but it should continue to fall back to
NOTIFY_LOG_LEVEL's value if not set explicitly

this is a stopgap workaround to introduce a little bit of
flexibility into our weirdly inflexible log setup (i.e. to make
it possible to get some use out of NOTIFY_REQUEST_LOG_LEVEL
without having to raise the global log level
@risicle risicle merged commit b593583 into main Jan 16, 2025
2 checks passed
@risicle risicle deleted the ris-notify-log-level-handlers branch January 16, 2025 11:34
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

Successfully merging this pull request may close these issues.

2 participants