Log: 404 jsou jen info

This commit is contained in:
MaM Web user 2021-09-06 14:10:09 +02:00
parent ab6a0a1ebd
commit d1a1e601c2

View file

@ -241,12 +241,24 @@ LOGGING = {
},
},
'filters': {
'Http404AsInfo': {
'()': 'various.log_filters.Http404AsInfoFilter',
},
},
'loggers': {
'django': {
'handlers': ['console'],
'level': 'DEBUG',
},
'django.request': {
'handlers': ['console'],
'level': 'DEBUG',
'filters': ['Http404AsInfo'],
},
'seminar.prihlaska.form':{
'handlers': ['console','registration_logfile'],
'level': 'INFO'