Remove cruft from log output

This commit is contained in:
David Boreham 2023-07-31 22:16:27 -06:00
parent 6a0a752e2e
commit 541c84a0df

View File

@ -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()