Fix missing oslo.log options in migration tool
The migration tool does not register the oslo.log options so fails to set up its logger. Ensure that the options are loaded before setup_logging call to fix it. Closes-Bug: #2067557 Change-Id: I902f49f4efa0da80021c2eda4b7fcb63cc1310b0
This commit is contained in:
@@ -32,6 +32,7 @@ def setup_conf():
|
||||
]
|
||||
conf = cfg.CONF
|
||||
conf.register_cli_opts(cli_opts)
|
||||
logging.register_options(conf)
|
||||
conf()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user