v1.38.4
This commit is contained in:
parent
7ddab1da09
commit
3d4a3ab1bb
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
from firebase_admin import initialize_app
|
from firebase_admin import initialize_app
|
||||||
|
|
||||||
BACKOFFICE_VERSION = "1.38.3"
|
BACKOFFICE_VERSION = "1.38.4"
|
||||||
|
|
||||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
@ -150,21 +150,23 @@ CKEDITOR_UPLOAD_PATH = MEDIA_URL
|
|||||||
LOGGING = {
|
LOGGING = {
|
||||||
'version': 1,
|
'version': 1,
|
||||||
'disable_existing_loggers': False,
|
'disable_existing_loggers': False,
|
||||||
'filters': {
|
|
||||||
'require_debug_true': {
|
|
||||||
'()': 'django.utils.log.RequireDebugTrue',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'handlers': {
|
'handlers': {
|
||||||
'console': {
|
'file': {
|
||||||
'class': 'logging.StreamHandler',
|
'level': 'ERROR',
|
||||||
'filters': ['require_debug_true'],
|
'class': 'logging.FileHandler',
|
||||||
|
'filename': '/var/log/django_error.log',
|
||||||
},
|
},
|
||||||
|
'file2': {
|
||||||
|
'level': 'WARNING',
|
||||||
|
'class': 'logging.FileHandler',
|
||||||
|
'filename': '/var/log/django_error.log',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'loggers': {
|
'loggers': {
|
||||||
'mylogger': {
|
'django': {
|
||||||
'handlers': ['console'],
|
'handlers': ['file'],
|
||||||
'level': os.getenv('DJANGO_LOG_LEVEL', 'DEBUG'),
|
'level': 'DEBUG',
|
||||||
'propagate': True,
|
'propagate': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user