Merge pull request #2877 from chrismeyersfsu/improvement-better_default_loggers

more sane default log handlers

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2018-12-05 15:59:12 +00:00 committed by GitHub
commit b9913fb4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1116,11 +1116,11 @@ LOGGING = {
'handlers': ['console'],
},
'django.request': {
'handlers': ['mail_admins', 'console', 'file', 'tower_warnings'],
'handlers': ['console', 'file', 'tower_warnings'],
'level': 'WARNING',
},
'rest_framework.request': {
'handlers': ['mail_admins', 'console', 'file', 'tower_warnings'],
'handlers': ['console', 'file', 'tower_warnings'],
'level': 'WARNING',
'propagate': False,
},