|
@ -245,9 +245,6 @@ LOGGING = { |
|
|
'Http404AsInfo': { |
|
|
'Http404AsInfo': { |
|
|
'()': 'various.log_filters.Http404AsInfoFilter', |
|
|
'()': 'various.log_filters.Http404AsInfoFilter', |
|
|
}, |
|
|
}, |
|
|
'StripSensitiveFormData': { |
|
|
|
|
|
'()': 'various.log_filters.StripSensitiveFormDataFilter', |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
'loggers': { |
|
|
'loggers': { |
|
@ -261,11 +258,6 @@ LOGGING = { |
|
|
'level': 'DEBUG', |
|
|
'level': 'DEBUG', |
|
|
'filters': ['Http404AsInfo'], |
|
|
'filters': ['Http404AsInfo'], |
|
|
}, |
|
|
}, |
|
|
'django.security.csrf': { |
|
|
|
|
|
'handlers': ['none'], # vyřeší propagace? |
|
|
|
|
|
'level': 'DEBUG', |
|
|
|
|
|
'filters': ['StripSensitiveFormData'], |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
'seminar.prihlaska.form':{ |
|
|
'seminar.prihlaska.form':{ |
|
|
'handlers': ['console','registration_logfile'], |
|
|
'handlers': ['console','registration_logfile'], |
|
@ -280,7 +272,6 @@ LOGGING = { |
|
|
'': { |
|
|
'': { |
|
|
'handlers': ['console'], # Add 'mail_admins' in prod and test |
|
|
'handlers': ['console'], # Add 'mail_admins' in prod and test |
|
|
'level': 'DEBUG', |
|
|
'level': 'DEBUG', |
|
|
'filters': ['StripSensitiveFormData'], |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|