Changed the default LOGGING setup to avoid logging to syslog, as it may not be available in all enviroments.

- Legacy-Id: 18382
This commit is contained in:
Henrik Levkowetz 2020-08-19 13:27:50 +00:00
parent 1318fe6914
commit bc75565969

View file

@ -228,7 +228,7 @@ LOGGING = {
'level': 'INFO',
},
'django.request': {
'handlers': ['debug_console', 'syslog'],
'handlers': ['debug_console'],
'level': 'ERROR',
},
'django.server': {
@ -236,11 +236,11 @@ LOGGING = {
'level': 'INFO',
},
'django.security': {
'handlers': ['syslog', ],
'handlers': ['debug_console', ],
'level': 'INFO',
},
'oidc_provider': {
'handlers': ['syslog', 'console', ],
'handlers': ['debug_console', ],
'level': 'DEBUG',
},
},