diff options
author | Hironori Shiina <shiina.hironori@jp.fujitsu.com> | 2021-10-22 21:04:48 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-11-12 11:08:25 -0500 |
commit | 47afa6d96218605f9ca5b78c5a420f38e4c84cf9 (patch) | |
tree | 850290ad6204b653a1b17adca0fa63c854460448 /test/e2e/pod_infra_container_test.go | |
parent | 729310a85170895ee3b508f0aa29dc9d3225e83c (diff) | |
download | podman-47afa6d96218605f9ca5b78c5a420f38e4c84cf9.tar.gz podman-47afa6d96218605f9ca5b78c5a420f38e4c84cf9.tar.bz2 podman-47afa6d96218605f9ca5b78c5a420f38e4c84cf9.zip |
Fix a few problems in 'podman logs --tail' with journald driver
The following problems regarding `logs --tail` with the journald log
driver are fixed:
- One more line than a specified value is displayed.
- '--tail 0' displays all lines while the other log drivers displays
nothing.
- Partial lines are not considered.
- If the journald events backend is used and a container has exited,
nothing is displayed.
Integration tests that should have detected the bugs are also fixed. The
tests are executed with json-file log driver three times without this
fix.
Signed-off-by: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
Diffstat (limited to 'test/e2e/pod_infra_container_test.go')
0 files changed, 0 insertions, 0 deletions