Skip to content

Commit

Permalink
uppercase log level to accomodate user input of either case
Browse files Browse the repository at this point in the history
  • Loading branch information
renxida committed Apr 25, 2024
1 parent f3bb7b5 commit 1797aac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/pt1/e2e_testing/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def _get_argparse():

def main():
args = _get_argparse().parse_args()
args.log_level = args.log_level.upper()

logger = logging.getLogger() # use root logger by default. Easy to change later.
logger.setLevel(logging.NOTSET)
Expand Down

0 comments on commit 1797aac

Please sign in to comment.