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:
Takashi Kajinami 2024-05-30 12:55:14 +09:00
parent 8179ba7eaf
commit 623d66cb08

View File

@ -32,6 +32,7 @@ def setup_conf():
]
conf = cfg.CONF
conf.register_cli_opts(cli_opts)
logging.register_options(conf)
conf()