From 2ce1e6a1e9d035cd083b871f7345b8d4605ec1a9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 10 Feb 2016 06:33:41 +0100 Subject: [PATCH] master/log: do not break lines --- artiq/master/log.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/master/log.py b/artiq/master/log.py index d542eac08..e3f0bae9f 100644 --- a/artiq/master/log.py +++ b/artiq/master/log.py @@ -24,9 +24,9 @@ class LogBufferHandler(logging.Handler): def emit(self, record): message = self.format(record) - for part in message.split("\n"): - self.log_buffer.log(record.levelno, record.source, record.created, - part) + self.log_buffer.log(record.levelno, record.source, record.created, + message) + def log_args(parser): group = parser.add_argument_group("logging")