debian: remove suds reference in settings.LOGGING
This commit is contained in:
parent
ec83fd65e4
commit
fc1bd04cd2
|
@ -1,7 +1,6 @@
|
|||
# This file is sourced by "execfile" from zoo.settings
|
||||
|
||||
# Debian defaults
|
||||
DEBUG = False
|
||||
import os
|
||||
|
||||
PROJECT_NAME = 'zoo'
|
||||
|
||||
|
@ -31,13 +30,12 @@ MELLON_IDENTITY_PROVIDERS = []
|
|||
#
|
||||
# hobotization (multitenant)
|
||||
#
|
||||
execfile('/usr/lib/hobo/debian_config_common.py')
|
||||
exec(open('/usr/lib/hobo/debian_config_common.py').read())
|
||||
|
||||
# suds logs are buggy
|
||||
LOGGING['loggers']['suds'] = {
|
||||
'level': 'ERROR',
|
||||
'handlers': ['mail_admins', 'sentry'],
|
||||
'propagate': True,
|
||||
}
|
||||
#
|
||||
# local settings
|
||||
#
|
||||
exec(open(os.path.join(ETC_DIR, 'settings.py')).read())
|
||||
|
||||
execfile('/etc/%s/settings.py' % PROJECT_NAME)
|
||||
# run additional settings snippets
|
||||
exec(open('/usr/lib/hobo/debian_config_settings_d.py').read())
|
||||
|
|
Loading…
Reference in New Issue