-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
podman logs -f (follow) stops working after a while #12263
Comments
Can you update your reproducer? Your description mentions |
I forgot to add it. Here it is. It's the same pod from the other issue. It uses To reproduce:
|
Is this with journal back end? |
Sorry, how do I check that? |
podman info |
|
@nalind PTAL |
@nalind Hi. Were you able to reproduce this issue? |
@douglas-legulas Yes, the log reader would stop when it encountered an entry that indicateed that the container had exited, never noticing if the container was later restarted. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The follow
-f
option only works once after creating the containers. If you stop the pod withpodman pod stop
, the next time you start them the follow option will only print logs and quit immediately after, without "following".Steps to reproduce the issue:
Start the container named
container_name
Run
podman logs -f container_name
Describe the results you received:
Existing logs are printed and then the command exits.
Describe the results you expected:
It should continue "following" after printing the existing logs.
Additional information you deem important (e.g. issue happens only occasionally):
Started happening after upgrading from Fedora 34 to 35, but I'm not so sure.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora Workstation 35
Kernel 5.14.16-301.fc35.x86_64
The text was updated successfully, but these errors were encountered: