Skip to content

Commit

Permalink
log warning & error etc
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbion committed Oct 4, 2023
1 parent cbac991 commit 796821a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/logger/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def filter_sensitive_fields(record):

# Remove ANSI escape sequences - colours & bold
record.msg = re.sub(r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])', '', record.msg)
return record.levelno <= logging.INFO
return True


logger = setup_logger()

0 comments on commit 796821a

Please sign in to comment.