From df5df505d455fade6670dda3f8992b89226c00b4 Mon Sep 17 00:00:00 2001 From: David Date: Sat, 25 Nov 2023 15:42:58 +0100 Subject: [PATCH] Fix printing of container logs (#559) * Fix printing of container logs * Use normal print --- runner.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runner.py b/runner.py index 4f4ebc14..94a42c2f 100755 --- a/runner.py +++ b/runner.py @@ -1438,4 +1438,8 @@ def run(self): except BaseException as e: error_helpers.log_error('Base exception occured in runner.py: ', e, successful_run_id) finally: - if args.print_logs: print("Container logs:", runner.get_logs()) + if args.print_logs: + for container_id, std_out in runner.get_logs().items(): + print(f"Container logs of '{container_id}':") + print(std_out) + print(f"\n-----------------------------\n")