podman-compose
podman-compose copied to clipboard
Unable to identify which container the podman-compose logs in /var/log/messages came from
Hi,
I have a server with multiple containers created with multiple podman-compose yml files.
Logs are replicated in /var/log/messages which is great, however there is no tags on the log message in /var/log/messages to identify which container sent the log.
How do I include a container name or a service name to the logs that go to /var/log/messages ?
I am not sure how this is supposed to work, you are talking about stdout/stderr showing up in /var/log/messages? Podman has no control over this.
can we ask podman to prefix output lines with custom string
just like
podman start -a web | sed -re 's#^#WEB: #'