summaryrefslogtreecommitdiffstats
path: root/os_net_config
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2014-12-06 08:30:40 +0000
committerSteven Hardy <shardy@redhat.com>2014-12-06 08:30:40 +0000
commit57642ab79ec09665d25997880c46f8fa1c4852b2 (patch)
tree3cc108888cc8057b82c9709192107c4fd770948e /os_net_config
parent3ef0ac1e3c69acaec11d2b83f175ed695f5387ee (diff)
Fix verbose/debug loglevels
These options seem to be reversed, in most other tools verbose means INFO and debug means DEBUG. Change-Id: I31005e4e10372018685a93dc2f80619f16c513d9
Diffstat (limited to 'os_net_config')
-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)