bugfix(cli): Remove redundant oslo_log register_options calls

This removes extra calls to oslo_log.register_options that were causing
a `oslo_config.cfg.ArgsAlreadyParsedError` when using the CLI.

Change-Id: Ib253ac0dd72f7a2a5558e6ee68736fb5c35ae1e0
This commit is contained in:
Sean Eagan 2018-06-01 11:59:40 -05:00
parent 1ac92cc7f6
commit 4fcd5468a0
2 changed files with 0 additions and 3 deletions

View File

@ -31,7 +31,6 @@ class CliAction(object):
def __init__(self):
self.logger = LOG
logging.register_options(CONF)
logging.set_defaults(default_log_levels=CONF.default_log_levels)
logging.setup(CONF, 'armada')

View File

@ -84,8 +84,6 @@ def main(ctx, debug, api, url, token):
token=token)
)
log.register_options(CONF)
if debug:
CONF.debug = debug