Set the default_log_levels to include keystoneclient

This creates a loggger for keystoneclient so we don't get:
"
No handlers could be found for logger "keystoneclient.middleware.auth_token"
"

bug 1152584
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>

Change-Id: I72d4de37799956b33371826aae50d8ac1ee333b1
This commit is contained in:
Angus Salkeld 2013-03-14 22:05:31 +11:00
parent e5f6889e75
commit ef5e08829a

View File

@ -80,5 +80,13 @@ def _sanitize_cmd_line(argv):
def prepare_service(argv=[]):
rpc.set_defaults(control_exchange='ceilometer')
cfg.set_defaults(log.log_opts,
default_log_levels=['amqplib=WARN',
'qpid.messaging=INFO',
'sqlalchemy=WARN',
'keystoneclient=INFO',
'stevedore=INFO',
'eventlet.wsgi.server=WARN'
])
cfg.CONF(argv[1:], project='ceilometer')
log.setup('ceilometer')