Tilt CLI Reference

tilt logs

Get logs from a running Tilt instance (optionally filtered for the specified resources)

Synopsis

Get logs from a running Tilt instance (optionally filtered for the specified resources).

By default, looks for a running Tilt instance on localhost:10350 (this is configurable with the –port and –host flags).

tilt logs [resource1, resource2...]

Options

  -f, --follow        If true, stream the requested logs; otherwise, print the requested logs at the current moment in time, then exit.
  -h, --help          help for logs
      --host string   Host for the Tilt HTTP server. Only necessary if you started Tilt with --host. (default "localhost")
      --port int      Port for the Tilt HTTP server. Only necessary if you started Tilt with --port. (default 10350)

Options inherited from parent commands

  -d, --debug                          Enable debug logging
      --klog int                       Enable Kubernetes API logging. Uses klog v-levels (0-4 are debug logs, 5-9 are tracing logs)
      --log-flush-frequency duration   Maximum number of seconds between log flushes (default 5s)
  -v, --verbose                        Enable verbose logging

SEE ALSO

  • tilt - Multi-service development with no stress
Auto generated by spf13/cobra on 16-Sep-2020
 
 
 

Was this doc helpful?