Skip to content

Commit a96ab4f

Browse files
authored
Improved LOG_LEVEL environment variable handling (#234)
1 parent 1a35a72 commit a96ab4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apprise_api/core/settings/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
'loggers': {
108108
'django': {
109109
'handlers': ['console'],
110+
'level': os.environ.get(
111+
'LOG_LEVEL', 'debug' if DEBUG else 'info').upper(),
110112
},
111113
'apprise': {
112114
'handlers': ['console'],

0 commit comments

Comments
 (0)