Skip to content
Snippets Groups Projects
Commit ed3373c8 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[settings] Suppress beat.core messages by default

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