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:
parent
e5f6889e75
commit
ef5e08829a
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user