Don't send an email on django errors in hyperkitty/postorius
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
c39e3c09c7
commit
9370ad72d0
1 changed files with 4 additions and 3 deletions
|
@ -377,9 +377,10 @@ LOGGING = {
|
|||
'django.request': {
|
||||
'handlers': [
|
||||
'file',
|
||||
{% if env == 'production' %}
|
||||
'mail_admins',
|
||||
{% endif %}
|
||||
# Don't send an email on server errors, there's just too many
|
||||
#{% if env == 'production' %}
|
||||
#'mail_admins',
|
||||
#{% endif %}
|
||||
],
|
||||
'level': 'DEBUG',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue