diff --git a/mamweb/settings_prod.py b/mamweb/settings_prod.py index 1ffb4f7b..48646ebb 100644 --- a/mamweb/settings_prod.py +++ b/mamweb/settings_prod.py @@ -62,6 +62,6 @@ CSRF_COOKIE_SECURE = True # LOGGING -LOGGING['loggers']['']['handlers'].extend('mail_admins') +LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins'] diff --git a/mamweb/settings_test.py b/mamweb/settings_test.py index d7cbcd2d..b1d3a7c1 100644 --- a/mamweb/settings_test.py +++ b/mamweb/settings_test.py @@ -60,6 +60,7 @@ CSRF_COOKIE_SECURE = True # LOGGING -LOGGING['loggers']['']['handlers'].extend('mail_admins') +LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins'] +