Skip to content

feat(podman-logs): improve logs formatting and behavior like docker-c… #1269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

arkhan
Copy link

@arkhan arkhan commented Jul 9, 2025

This update improves the logging output for containers, making it more
consistent with docker-compose behavior.

By default, the logs now include the project name along with the service name,
making it easier to identify containers in multi-service setups. If the -n or
--name flag is provided, the project name is omitted from the logs prefix.

Additionally, if a container_name is explicitly defined in the configuration,
it will always be shown by default instead of the generated name.

This enhancement helps users track logs more easily when managing multiple
containers.

BREAKING CHANGE: Logs output format may differ from previous versions.

@arkhan arkhan closed this Jul 9, 2025
@arkhan arkhan reopened this Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant