From: Sage Weil Date: Fri, 26 Feb 2021 21:00:43 +0000 (-0600) Subject: test X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=682c0e71db5f2fdf09f29704a9e10c61570fc1b2;p=teuthology.git test --- diff --git a/teuthology/orchestra/run.py b/teuthology/orchestra/run.py index f31dfd0d7..c733ab46d 100644 --- a/teuthology/orchestra/run.py +++ b/teuthology/orchestra/run.py @@ -285,7 +285,9 @@ def copy_to_log(f, logger, loglevel=logging.INFO, capture=None, quiet=False): capture.write(line.encode()) else: capture.write(line) - line = line.rstrip() + if line.endswith(b'\n'): + line.replace(b'\n', b'((ENDLINE))') + #line = line.rstrip() # Second part of work-around for http://tracker.ceph.com/issues/8313 if quiet: continue