On 1/26/22 21:09, Ranbir wrote:
On Tue, 2022-01-25 at 21:46 -0700, Jim Melton wrote:
> I played with the log drivers (I’m on a very old Podman … 1.6.2).
> What a found was journald didn’t use the file path at all. I used a
> less specific retrieval (along the lines of just journalctl). It
> wasn’t satisfactory to me. Instead, I chose the k8s driver. Despite
> the implications that this is somehow JSON-formatted output, it
> wasn’t. It wrote my output to the file I requested as plain text.
I tried setting log-driver to "k8s-file" and a file was created in the
location I set it to, but the file is empty. It's been about 3 hours
since I did it and it's still empty. :/
I think you are hitting very old bugs which will require you to update
the podman package.