Skip to content

Commit

Permalink
This commit fixes the verbosity (-v) levels.
Browse files Browse the repository at this point in the history
without -v is ERROR logging, -v  WARNINGS logging, -vv INFO logging
and -vvv (+) DEBUG logging.

Signed-off-by: Kairo de Araujo <[email protected]>
  • Loading branch information
Kairo de Araujo committed Dec 3, 2021
1 parent 183223e commit 1344410
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/client_example/client_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1344410

Please sign in to comment.