podman container logs

Latest response

I am running an EL8 server hosting podman containers created with podman-compose.
My goal is to collect the logs from the containers and podman in the host's rsyslog service.

I have the following in my rsyslog.conf to collect traffic from journald.


None of the logs from my containers seems to be making it to /var/log/messages or /var/log/secure.
However using "podman logs" shows they are generating log data.

What pieces am I missing?
I find little on collecting podman container logs anywhere.


I have determined that while "podman run" and "podman create" will leverage the "--log-driver=journald" parameter, podman-compose ignores logging parameters. Thanks.