Skip to content

Commit

Permalink
Change set level to allow for all possible verbosity levels to be set (
Browse files Browse the repository at this point in the history
…#10)

Co-authored-by: Bogdan Peter <bogdan.peter@paddypowerbetfair.com>
  • Loading branch information
peterbppb and Bogdan Peter committed Mar 28, 2024
1 parent 5cd0022 commit c2acbd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logbasecommand/base.py
Expand Up @@ -56,8 +56,8 @@ def execute(self, *args, **options):
self.logger.setLevel(
[
logging.ERROR,
max(self.logger.getEffectiveLevel(), logging.INFO),
logging.DEBUG,
logging.INFO,
logging.WARNING,
logging.DEBUG,
][self.verbosity]
)
Expand Down

0 comments on commit c2acbd0

Please sign in to comment.