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:
Joe Gordon
2014-06-04 00:03:29 -07:00
parent 51be0dea77
commit 8208c64df3
4 changed files with 0 additions and 21 deletions

View File

@@ -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()