log_level fix for CLI
The addition of the log_level value [0] introduces a requirement to call options.setup() before calling logging.setup(). This was being done in the Promenade service but not in the CLI. This PS adds the necessary options.setup() call. [0]: https://review.opendev.org/629154 Change-Id: I151893387659a4d1393144387a3378ff9b517ce7
This commit is contained in:
parent
4735ecfd7f
commit
cffca055fe
@ -1,10 +1,11 @@
|
|||||||
from . import builder, config, exceptions, generator, logging
|
from . import builder, config, exceptions, generator, logging, options
|
||||||
import click
|
import click
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
__all__ = []
|
__all__ = []
|
||||||
|
|
||||||
|
options.setup()
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user