From 2da03d7ed14310c2d84a56c900477f0fce5b3108 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 31 Jul 2023 22:20:04 -0600 Subject: [PATCH] Remove cruft from log output (#479) --- app/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/deploy.py b/app/deploy.py index 075dceea..137935fd 100644 --- a/app/deploy.py +++ b/app/deploy.py @@ -153,7 +153,7 @@ def logs_operation(ctx, tail: int, follow: bool, extra_args: str): services_list = extra_args_list if extra_args_list is not None else [] logs_stream = ctx.obj.docker.compose.logs(services=services_list, tail=tail, follow=follow, stream=True) for stream_type, stream_content in logs_stream: - print(f"Stream type: {stream_type}, stream content: {stream_content}") + print(stream_content.decode("utf-8"), end="") @command.command()