Skip to content

Commit 1344410

Browse files
author
Kairo de Araujo
committed
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 <[email protected]>
1 parent 183223e commit 1344410

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/client_example/client_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ def main() -> None:
111111

112112
command_args = client_args.parse_args()
113113

114-
if command_args.verbose == 1:
114+
if command_args.verbose == 0:
115115
loglevel = logging.ERROR
116-
elif command_args.verbose == 2:
116+
elif command_args.verbose == 1:
117117
loglevel = logging.WARNING
118-
elif command_args.verbose == 3:
118+
elif command_args.verbose == 2:
119119
loglevel = logging.INFO
120120
else:
121121
loglevel = logging.DEBUG

0 commit comments

Comments
 (0)