Improved LOG_LEVEL environment variable handling (#234)

This commit is contained in:
Chris Caron 2025-02-18 12:15:24 -05:00 committed by GitHub
parent 1a35a72974
commit a96ab4fde7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,6 +107,8 @@ LOGGING = {
'loggers': {
'django': {
'handlers': ['console'],
'level': os.environ.get(
'LOG_LEVEL', 'debug' if DEBUG else 'info').upper(),
},
'apprise': {
'handlers': ['console'],