cf-operator util tail-logs

cf-operator util tail-logs

Tail logs from a pod


Tail logs from a container in the same pod.

This will tail all logs under the specified dir. The dir can be set using the “-z” flag, or setting the LOGS_DIR env variable. It will also run logrotate.

cf-operator util tail-logs [flags]


  -h, --help                     help for tail-logs
  -i, --logrotate-interval int   (LOGROTATE_INTERVAL) interval between logrotates in minutes (default 1440)
  -z, --logs-dir string          (LOGS_DIR) a path from where to tail logs


Auto generated by spf13/cobra on 25-Aug-2020
Last modified May 25, 2021: Fix code display in release docs (2bc24a5)