mirror of
https://github.com/containers/podman.git
synced 2025-05-20 16:47:39 +08:00
Add option for pod logs to display different colors per container.
Signed-off-by: Krzysztof Baran <krysbaran@gmail.com> Signed-off-by: gcalin <caling@protonmail.com>
This commit is contained in:
@ -15,6 +15,10 @@ any logs at the time you execute podman logs).
|
||||
|
||||
## OPTIONS
|
||||
|
||||
#### **--color**
|
||||
|
||||
Output the containers with different colors in the log.
|
||||
|
||||
#### **--follow**, **-f**
|
||||
|
||||
Follow log output. Default is false.
|
||||
|
@ -13,6 +13,10 @@ Note: Long running command of `podman pod log` with a `-f` or `--follow` needs t
|
||||
|
||||
## OPTIONS
|
||||
|
||||
#### **--color**
|
||||
|
||||
Output the containers with different colors in the log.
|
||||
|
||||
#### **--container**, **-c**
|
||||
|
||||
By default `podman pod logs` retrieves logs for all the containers available within the pod differentiate by field `container`. However there are use-cases where user would want to limit the log stream only to a particular container of a pod for such cases `-c` can be used like `podman pod logs -c ctrNameorID podname`.
|
||||
|
Reference in New Issue
Block a user