diff --git a/mamweb/settings_prod.py b/mamweb/settings_prod.py index e674ab05..6a20ff8c 100644 --- a/mamweb/settings_prod.py +++ b/mamweb/settings_prod.py @@ -61,6 +61,7 @@ CSRF_COOKIE_SECURE = True LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins'] LOGGING['loggers']['django']['handlers'] = ['console', 'mail_admins'] +LOGGING['loggers']['django.security.csrf']['level'] = 'ERROR' LOGGING['handlers']['registration_logfile']['filename'] = '/home/mam-web/logs/prod/registration.log' LOGGING['handlers']['registration_error_log']['filename'] = '/home/mam-web/logs/prod/registration_errors.log'