Skip to content

Commit

Permalink
Changes logging settings
Browse files Browse the repository at this point in the history
  • Loading branch information
algosuna committed Jul 26, 2016
1 parent aead88e commit e3a7bcd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions djangomx/djangomx/settings/common.py
Expand Up @@ -142,6 +142,10 @@
},
},
"handlers": {
"opbeat": {
"level": "WARNING",
"class": "opbeat.contrib.django.handlers.OpbeatHandler",
},
"mail_admins": {
"level": "ERROR",
"include_html": True,
Expand All @@ -160,10 +164,15 @@
"level": "ERROR",
"propagate": False,
},
}
"opbeat.errors": {
"level": "ERROR",
"handlers": ["console"],
"propagate": False,
},
},
}

DEFAULT_FROM_EMAIL = 'Django Mexico <noreply@django.mx>'
DEFAULT_FROM_EMAIL = 'noreply@django.mx'

NOTIFICATION_EMAIL = SECRETS.get('notification_email', 'me@netoxico.com')

Expand Down

0 comments on commit e3a7bcd

Please sign in to comment.