Commit ed3373c8 authored by André Anjos's avatar André Anjos 💬

[settings] Suppress beat.core messages by default

parent 8333d686
......@@ -78,6 +78,10 @@ LOGGING = {
},
},
'handlers': {
'discard': {
'level': 'DEBUG',
'class': 'logging.NullHandler',
},
'console': {
'level': 'DEBUG',
'class': 'logging.StreamHandler',
......@@ -92,6 +96,10 @@ LOGGING = {
'beat.web': {
'handlers': ['console', 'mail_admins'],
},
'beat.core': {
'handlers': ['discard'],
'propagate': False, #don't e-mail those!
},
'beat.web.attestations.management.commands': {
'handlers': ['console'],
'propagate': False, #don't e-mail those!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment