diff --git a/extra/ansistrm/ansistrm.py b/extra/ansistrm/ansistrm.py index ce85f8058..719db5657 100644 --- a/extra/ansistrm/ansistrm.py +++ b/extra/ansistrm/ansistrm.py @@ -125,12 +125,13 @@ class ColorizingStreamHandler(logging.StreamHandler): def format(self, record): message = logging.StreamHandler.format(self, record) - if self.is_tty: - # Don't colorize any traceback - parts = message.split('\n', 1) - parts[0] = self.colorize(parts[0], record) - message = '\n'.join(parts) - return message + #if self.is_tty: + # # Don't colorize any traceback + # parts = message.split('\n', 1) + # parts[0] = self.colorize(parts[0], record) + # message = '\n'.join(parts) + #return message + return self.colorize(message, record) def main(): root = logging.getLogger()