diff --git a/services/logger.py b/services/logger.py index b220849a..a8f2c344 100644 --- a/services/logger.py +++ b/services/logger.py @@ -38,16 +38,13 @@ class MultilineColoredFormatter(colorlog.ColoredFormatter): formatted_lines = [] for line in lines: # Format each line with the provided format - formatted_lines.append(self._format_line(record, line)) + formatted_lines.append(super().format(record)) # Join the formatted lines return '\n'.join(formatted_lines) else: # If not multiline or no message, use the default formatting return super().format(record) - def _format_line(self, record, line): - # Format each line with the provided format - return super().format(record, line) # Create a MultilineColoredFormatter object for colorized logging