Browse Source

Log: 404 jsou jen info

middleware_test
MaM Web user 3 years ago
parent
commit
d1a1e601c2
  1. 12
      mamweb/settings_common.py

12
mamweb/settings_common.py

@ -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'

Loading…
Cancel
Save