Remove usage of option 'verbose'

Config option 'verbose' wase deprecated on aug 1, 2015 in review:
https://review.openstack.org/#/c/206437/
Oslo team decide to remove this option, need cleanup the usage of
it in consuming project before removing it from oslo.log.

Change-Id: I713e9e5107a64ec29c220d1150c1bf5fcf6f1135
This commit is contained in:
ChangBo Guo(gcb)
2017-03-10 18:37:19 +08:00
parent d83c787e2e
commit 8062c3c3c1

View File

@@ -218,10 +218,8 @@ def main():
raise CannotUseIPABackend(cuiberrorstr)
if cfg.CONF.debug:
LOG.setLevel(logging.DEBUG)
elif cfg.CONF.verbose:
LOG.setLevel(logging.INFO)
else:
LOG.setLevel(logging.WARN)
LOG.setLevel(logging.INFO)
ipabackend = impl_ipa.IPABackend(None)
ipabackend.start()
version = cfg.CONF['backend:ipa'].ipa_version