diff --git a/newsfragments/fix-unnecessary-log-text-when-detached.bugfix b/newsfragments/fix-unnecessary-log-text-when-detached.bugfix new file mode 100644 index 0000000..7702609 --- /dev/null +++ b/newsfragments/fix-unnecessary-log-text-when-detached.bugfix @@ -0,0 +1 @@ +Fixed regression of log output including "text" in detached mode. diff --git a/podman_compose.py b/podman_compose.py index 079351d..dda6792 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -3061,7 +3061,7 @@ async def run_container( # start the container log.debug("Starting task for container %s", name) - return await compose.podman.run(*command, log_formatter=log_formatter or "text") # type: ignore[misc] + return await compose.podman.run(*command, log_formatter=log_formatter) # type: ignore[misc] def deps_from_container(args: argparse.Namespace, cnt: dict) -> set: