diff options
author | 2014-12-06 08:30:40 +0000 | |
---|---|---|
committer | 2014-12-06 08:30:40 +0000 | |
commit | 57642ab79ec09665d25997880c46f8fa1c4852b2 (patch) | |
tree | 3cc108888cc8057b82c9709192107c4fd770948e /os_net_config/cli.py | |
parent | 3ef0ac1e3c69acaec11d2b83f175ed695f5387ee (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/cli.py')
-rw-r--r-- | os_net_config/cli.py | 4 |
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) |