aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config
diff options
context:
space:
mode:
Diffstat (limited to 'os_net_config')
-rw-r--r--os_net_config/cli.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/os_net_config/cli.py b/os_net_config/cli.py
index c3a6358..aeccb26 100644
--- a/os_net_config/cli.py
+++ b/os_net_config/cli.py
@@ -99,10 +99,10 @@ def configure_logger(verbose=False, debug=False):
DATE_FORMAT = '%Y/%m/%d %I:%M:%S %p'
log_level = logging.WARN
- if verbose:
- log_level = logging.INFO
- elif debug:
+ if debug:
log_level = logging.DEBUG
+ elif verbose:
+ log_level = logging.INFO
logging.basicConfig(format=LOG_FORMAT, datefmt=DATE_FORMAT,
level=log_level)