mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
Add the names flag for pod logs
Fixes containers#13261 Signed-off-by: Xueyuan Chen <X.Chen-47@student.tudelft.nl>
This commit is contained in:

committed by
Xueyuan Chen

parent
c39dffe83d
commit
40c6192e9e
@ -28,6 +28,10 @@ chance that the log file will be removed before `podman pod logs` reads the fina
|
||||
|
||||
Instead of providing the pod name or id, get logs of the last created pod. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
|
||||
|
||||
#### **--names**, **-n**
|
||||
|
||||
Output the container names instead of the container IDs in the log.
|
||||
|
||||
#### **--since**=*TIMESTAMP*
|
||||
|
||||
Show logs since TIMESTAMP. The --since option can be Unix timestamps, date formatted timestamps, or Go duration
|
||||
|
Reference in New Issue
Block a user