From cffca055fe78f53dfae029ee37d981507cb089fe Mon Sep 17 00:00:00 2001 From: "Crank, Daniel (dc6350)" Date: Thu, 8 Aug 2019 14:08:51 -0500 Subject: [PATCH] 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 --- promenade/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/promenade/cli.py b/promenade/cli.py index d143da80..30d9ffb7 100644 --- a/promenade/cli.py +++ b/promenade/cli.py @@ -1,10 +1,11 @@ -from . import builder, config, exceptions, generator, logging +from . import builder, config, exceptions, generator, logging, options import click import os import sys __all__ = [] +options.setup() LOG = logging.getLogger(__name__)