diff --git a/artiq/protocols/logging.py b/artiq/protocols/logging.py index b6ddb9bb6..693e58f7d 100644 --- a/artiq/protocols/logging.py +++ b/artiq/protocols/logging.py @@ -78,7 +78,7 @@ class LogParser: entry = (await stream.readline()) if not entry: break - self.line_input(entry[:-1].decode()) + self.line_input(entry.decode().rstrip("\r\n")) except: logger.debug("exception in log forwarding", exc_info=True) break