Commit 97d35164 by Arun Babu Neelicattu

ensure console logs handle format strings correctly

parent f172b602
...@@ -30,6 +30,6 @@ class IOFormatter(logging.Formatter): ...@@ -30,6 +30,6 @@ class IOFormatter(logging.Formatter):
elif level in self._colors: elif level in self._colors:
msg = f"<{self._colors[level]}>{msg}</>" msg = f"<{self._colors[level]}>{msg}</>"
return msg record.msg = msg
return super().format(record) return super().format(record)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment