1
0
Fork 0

add error logging in production

master
radex 2023-08-18 15:13:35 +02:00
parent 4fc47030db
commit d615da3a0f
1 changed files with 15 additions and 0 deletions

View File

@ -93,6 +93,21 @@ TEMPLATES = [
WSGI_APPLICATION = "spejstore.wsgi.application"
# Logging
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "INFO",
},
}
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases