mirror of
https://github.com/caronc/apprise-api.git
synced 2025-03-03 17:11:43 +01:00
Improved LOG_LEVEL environment variable handling (#234)
This commit is contained in:
parent
1a35a72974
commit
a96ab4fde7
@ -107,6 +107,8 @@ LOGGING = {
|
||||
'loggers': {
|
||||
'django': {
|
||||
'handlers': ['console'],
|
||||
'level': os.environ.get(
|
||||
'LOG_LEVEL', 'debug' if DEBUG else 'info').upper(),
|
||||
},
|
||||
'apprise': {
|
||||
'handlers': ['console'],
|
||||
|
Loading…
Reference in New Issue
Block a user