master/log: do not break lines

This commit is contained in:
Sebastien Bourdeauducq 2016-02-10 06:33:41 +01:00
parent f3f667be5b
commit 2ce1e6a1e9
1 changed files with 3 additions and 3 deletions

View File

@ -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)
message)
def log_args(parser):
group = parser.add_argument_group("logging")