aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config/cli.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-12-17 16:34:14 +0000
committerGerrit Code Review <review@openstack.org>2014-12-17 16:34:14 +0000
commitd673f00ba1af04daabc58762c059c1312ce8cfdc (patch)
treeba15395ae6a41f6e47dcb8d7f31f5d8f9bb39ee6 /os_net_config/cli.py
parent2c589f4b51ddd9992c5e4c000dbe8219d4060758 (diff)
parent57642ab79ec09665d25997880c46f8fa1c4852b2 (diff)
Merge "Fix verbose/debug loglevels"
Diffstat (limited to 'os_net_config/cli.py')
-rw-r--r--os_net_config/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/os_net_config/cli.py b/os_net_config/cli.py
index 85599db..2df13c9 100644
--- a/os_net_config/cli.py
+++ b/os_net_config/cli.py
@@ -82,9 +82,9 @@ def configure_logger(verbose=False, debug=False):
log_level = logging.WARN
if verbose:
- log_level = logging.DEBUG
- elif debug:
log_level = logging.INFO
+ elif debug:
+ log_level = logging.DEBUG
logging.basicConfig(format=LOG_FORMAT, datefmt=DATE_FORMAT,
level=log_level)