From 36a63b22dc3be73ad40e847176c6efe051b5fbf5 Mon Sep 17 00:00:00 2001 From: Filippo Cremonese <filippocremonese@rev.ng> Date: Thu, 15 Oct 2020 15:28:15 +0200 Subject: [PATCH] Set default loglevel to INFO --- orchestra/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/orchestra/__init__.py b/orchestra/__init__.py index 2bb50eb..e3097dc 100644 --- a/orchestra/__init__.py +++ b/orchestra/__init__.py @@ -6,8 +6,7 @@ from orchestra.cmds import install_subcommands from orchestra.model.configuration import Configuration parser = argparse.ArgumentParser() -# TODO: set default loglevel to INFO or WARNING -parser.add_argument("--loglevel", "-v", default="DEBUG", choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]) +parser.add_argument("--loglevel", "-v", default="INFO", choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]) parser.add_argument("--pretend", "-n", action="store_true", help="Do not execute actions, only print what would be done") parser.add_argument("--quiet", "-q", action="store_true", help="Do not show output of executed commands") parser.add_argument("--no-config-cache", action="store_true", help="Do not cache generated yaml configuration") -- GitLab