Replies: 2 comments
-
|
I think that our systemd Switching to What other options do we have here? |
Beta Was this translation helpful? Give feedback.
-
|
I tried creating a What works is searching for the container logs via |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following problem:
We are running rootless containers with log-provider
journaldenabled. The logging works, but the log do not appear in the log of the systemd service.This means when I check the logs of the service via
journalctl -u <service_name>I see the logs of systemd starting/stopping the service, but I do not see any container logs.Instead, the container logs are logged with the container name.
Our systemd file looks like this:
When I do
journalctl -u haproxy.serviceI see the ExecStartPre logs and the systemd logs, but I do not see the logs of the container.When I check
journalctl -band search for my logs I find them:How do I get these container logs into the same systemd service context?
Beta Was this translation helpful? Give feedback.
All reactions