fix(cli): Defaul logging level should be WARNING
continuous-integration/woodpecker the build was successful
Details
continuous-integration/woodpecker the build was successful
Details
This commit is contained in:
parent
ee839ce6a3
commit
ab093c04bd
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue