Skip to content

Commit

Permalink
Improved LOG_LEVEL environment variable handling (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc authored Feb 18, 2025
1 parent 1a35a72 commit a96ab4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apprise_api/core/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
'loggers': {
'django': {
'handlers': ['console'],
'level': os.environ.get(
'LOG_LEVEL', 'debug' if DEBUG else 'info').upper(),
},
'apprise': {
'handlers': ['console'],
Expand Down

0 comments on commit a96ab4f

Please sign in to comment.