This topic gives you command-specific information for the Tanzu Supply Chain CLI.
Watch workload-related logs. Stream logs for a workload until canceled. To cancel, press Ctrl+C in the shell or stop the process. As new workload pods start, the logs appear. To see historical logs, use --since
.
tanzu workload logs <NAME> [flags]
tanzu workload logs NAME
tanzu workload logs NAME --since 1h
tanzu workload logs NAME --since 1h --namespace default
tanzu workload logs NAME --since 1h --namespace default --run runname
-h, --help help for logs
-k, --kind string kind of the workload specification
-n, --namespace name kubernetes namespace (defaulted from kube config)
--run name workload run name
--since duration time duration to start reading logs from (default 1h0m0s)
-t, --timestamp print timestamp for each log line
--kubeconfig file kubeconfig file (default is $HOME/.kube/config)
--no-color deactivate color, bold, animations, and emoji output