Skip to content

Commit

Permalink
config: read NOTIFY_LOG_LEVEL and NOTIFY_LOG_LEVEL_HANDLERS env vars
Browse files Browse the repository at this point in the history
it would appear NOTIFY_LOG_LEVEL was previously not controllable via
env vars
  • Loading branch information
risicle committed Jan 16, 2025
1 parent 3a31c32 commit 0826832
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ class Config:
# Logging
DEBUG = False

NOTIFY_LOG_LEVEL = os.getenv("NOTIFY_LOG_LEVEL", "INFO")
NOTIFY_LOG_LEVEL_HANDLERS = os.getenv("NOTIFY_LOG_LEVEL_HANDLERS", NOTIFY_LOG_LEVEL)

NOTIFY_REQUEST_LOG_LEVEL = os.getenv("NOTIFY_REQUEST_LOG_LEVEL", "INFO")

# Cronitor
Expand Down

0 comments on commit 0826832

Please sign in to comment.