Added a default logger and level for 'django.security' log items, to route them to our regular syslog. This will give us more information about failures to retrieve session info, and also things like 404 responses, which will already be captured in the apache log but with less info. May need revisiting if it proves to cause excessive logging.
- Legacy-Id: 18042
This commit is contained in:
parent
ed8e578a07
commit
649831e7c7
|
@ -232,6 +232,10 @@ LOGGING = {
|
|||
'level': 'INFO',
|
||||
'propagate': False,
|
||||
},
|
||||
'django.security': {
|
||||
'handlers': ['syslog', ],
|
||||
'level': 'INFO',
|
||||
},
|
||||
'oidc_provider': {
|
||||
'handlers': ['syslog', 'console', ],
|
||||
'level': 'DEBUG',
|
||||
|
|
Loading…
Reference in a new issue