-
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
display logs for multiple containers at the same time #2620
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baude The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@TomasTomecek ptal |
To preserve conversation from IRC, this isn't completely parsing the Kube log format, so it can't interpret P vs F lines and prints extra newlines. Also prints a few timestamp for each character when --follow and --timestamps are specified together. Handling of control characters also seems wonky. |
@baude oh my, thank you so much for working on this! Can't comment on the code, but this seems to be exactly what I was asking for. One question: will |
Another thing I noticed here - when following a single container, |
yup! |
I like the idea that it hangs forever, that way if I start the container, the output will start up again. |
@baude We can probably remove |
404d705
to
b59ab43
Compare
bot, retest this please |
One more thing I noticed: in the old implementation, |
Otherwise, my major concerns are addressed, output looks fine |
bot, retest this please |
Nicely done, @baude. Just tested it locally, very nice work!
|
add the ability for users to specify more than one container at a time while using podman logs. If more than one container is being displayed, podman will also prepend a shortened container id of the container on the log line. also, enabled the podman-remote logs command during the refactoring of the above ability. fixes issue containers#2219 Signed-off-by: baude <bbaude@redhat.com>
Wait for more than 1 second on podman info to complete. Also, add clarification to why slirp fails. Signed-off-by: baude <bbaude@redhat.com>
bot, retest this please |
Latest version seems to properly print all logs before following |
/lgtm |
add the ability for users to specify more than one container at a time
while using podman logs. If more than one container is being displayed,
podman will also prepend a shortened container id of the container on
the log line.
also, enabled the podman-remote logs command during the refactoring of
the above ability.
fixes issue #2219
Signed-off-by: baude bbaude@redhat.com