Stop overriding CONF.default_log_levels per binary
Overriding CONF.default_log_levels means we loose some explicitly set default values such as 'iso8601=WARN'. Also explicitly overriding CONF.default_log_levels means that default_log_levels cannot be set in a config file. Change-Id: Ib5103b88ec3f9ccd9d516032c6a13dc2fa4bcb5e
This commit is contained in:
@@ -48,11 +48,6 @@ LOG = logging.getLogger('heat.api.cfn')
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
cfg.CONF(project='heat', prog='heat-api-cfn')
|
||||
cfg.CONF.default_log_levels = ['amqplib=WARN',
|
||||
'qpid.messaging=INFO',
|
||||
'keystone=INFO',
|
||||
'eventlet.wsgi.server=WARN',
|
||||
]
|
||||
logging.setup('heat')
|
||||
|
||||
app = config.load_paste_app()
|
||||
|
||||
Reference in New Issue
Block a user