Commit 01dacf6c authored by Michal Čihař's avatar Michal Čihař

No verbose logging in Jenkins

parent 3e917a35
......@@ -55,3 +55,31 @@ PROJECT_APPS = (
)
PYLINT_RCFILE = os.path.join(WEB_ROOT, '..', 'pylint.rc')
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'filters': {
'require_debug_false': {
'()': 'django.utils.log.RequireDebugFalse'
}
},
'handlers': {
'mail_admins': {
'level': 'ERROR',
'filters': ['require_debug_false'],
'class': 'django.utils.log.AdminEmailHandler'
},
},
'loggers': {
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True,
},
'weblate': {
'handlers': [],
'level': 'ERROR',
}
}
}
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