commit | 4c77afacae7708a299ad204f7507732e76b3f5e8 | [log] [tgz] |
---|---|---|
author | Christoffer Adamsen <christofferqa@google.com> | Thu Apr 11 07:05:28 2024 +0000 |
committer | Christoffer Adamsen <christofferqa@google.com> | Thu Apr 11 07:54:42 2024 +0000 |
tree | 6b5ddb035661b64ae6bc322ca1345f3c91c33b62 | |
parent | beeadedb4ddb56419e020d46c7917c2521e3d4c7 [diff] [blame] |
Add worker prefix to all stdout lines Change-Id: If4da68184f8e7e8ed9ec668719bd0b700b3e5d30
diff --git a/tools/thread_utils.py b/tools/thread_utils.py index e92d2c8..397ebda 100755 --- a/tools/thread_utils.py +++ b/tools/thread_utils.py
@@ -119,4 +119,5 @@ if worker_id is None: print(msg) else: - print('WORKER %s: %s' % (worker_id, msg)) + for line in msg.splitlines(): + print('WORKER %s: %s' % (worker_id, line))