This commit is contained in:
Tibor Bossanyi (Freelancer) 2022-10-05 15:47:59 +02:00
parent f7e7609bc3
commit 7ddab1da09

View File

@ -1,7 +1,7 @@
import os
from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.38.2"
BACKOFFICE_VERSION = "1.38.3"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@ -156,16 +156,15 @@ LOGGING = {
},
},
'handlers': {
'file': {
'level': 'ERROR',
'class': 'logging.FileHandler',
'filename': '/var/log/django_error.log',
}
'console': {
'class': 'logging.StreamHandler',
'filters': ['require_debug_true'],
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'DEBUG',
'loggers': {
'mylogger': {
'handlers': ['console'],
'level': os.getenv('DJANGO_LOG_LEVEL', 'DEBUG'),
'propagate': True,
},
},