diff --git a/common/logger.py b/common/logger.py index 370b1e17..6258d412 100644 --- a/common/logger.py +++ b/common/logger.py @@ -53,7 +53,7 @@ def _log_formatter(record: dict) -> str: message = unwrap(record.get("message"), "") # Replace once loguru allows for turning off str.format - message = message.replace("{", "{{").replace("}", "}}") + message = message.replace("{", "{{").replace("}", "}}").replace("<", "\<") lines = message.splitlines() fmt = ""