From 134441019c8cdf71b7221da207dcaa0ac811c8cc Mon Sep 17 00:00:00 2001 From: Kairo de Araujo Date: Wed, 1 Dec 2021 15:02:19 +0100 Subject: [PATCH] This commit fixes the verbosity (-v) levels. without -v is ERROR logging, -v WARNINGS logging, -vv INFO logging and -vvv (+) DEBUG logging. Signed-off-by: Kairo de Araujo --- examples/client_example/client_example.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/client_example/client_example.py b/examples/client_example/client_example.py index 227db96a..4d6fc1c6 100755 --- a/examples/client_example/client_example.py +++ b/examples/client_example/client_example.py @@ -111,11 +111,11 @@ def main() -> None: command_args = client_args.parse_args() - if command_args.verbose == 1: + if command_args.verbose == 0: loglevel = logging.ERROR - elif command_args.verbose == 2: + elif command_args.verbose == 1: loglevel = logging.WARNING - elif command_args.verbose == 3: + elif command_args.verbose == 2: loglevel = logging.INFO else: loglevel = logging.DEBUG