From ab093c04bd547bd48754b8496c2732f90029dbc0 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 18 Dec 2021 02:12:19 +0100 Subject: [PATCH] fix(cli): Defaul logging level should be WARNING --- flaschengeist/cli/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flaschengeist/cli/__init__.py b/flaschengeist/cli/__init__.py index 3927e88..493dcfd 100644 --- a/flaschengeist/cli/__init__.py +++ b/flaschengeist/cli/__init__.py @@ -33,14 +33,14 @@ def verbosity(ctx, param, value): """Toggle verbosity between WARNING <-> DEBUG""" if not value or ctx.resilient_parsing: return - configure_logger(cli=40 - max(0, min(value * 10, 30))) + configure_logger(cli=30 - max(0, min(value * 10, 20))) @click.group( cls=FlaskGroup, add_version_option=False, add_default_commands=False, - create_app=lambda: create_app(cli=True), + create_app=lambda: create_app(cli=30), ) @click.option( "--version",