diff --git a/openbb_terminal/core/log/generation/formatter_with_exceptions.py b/openbb_terminal/core/log/generation/formatter_with_exceptions.py index 6a95418141af..70e156280f11 100644 --- a/openbb_terminal/core/log/generation/formatter_with_exceptions.py +++ b/openbb_terminal/core/log/generation/formatter_with_exceptions.py @@ -167,6 +167,8 @@ def format(self, record: logging.LogRecord) -> str: log_prefix_content = {**log_prefix_content, **log_extra} log_prefix = self.LOGPREFIXFORMAT % log_prefix_content + record.msg = record.msg.replace("|", "-MOCK_PIPE-") + log_line = super().format(record) log_line = self.filter_log_line(text=log_line) log_line_full = log_prefix + log_line