Skip to main content

lium logs

Stream or tail pod logs.

lium logs POD_ID [OPTIONS]

Arguments​

  • POD_ID — Pod name or index from lium ps.

Options​

FlagEffect
-n, --tail NNumber of lines to show from the end (default: 100)
-f, --followFollow log output (like tail -f)

Examples​

lium logs my-pod                  # Last 100 lines
lium logs 1 --tail 500 # Last 500 lines
lium logs my-pod -f # Stream live
lium logs my-pod -n 50 -f # Tail and follow

See also​

  • lium exec — run an ad-hoc command on a pod
  • lium ssh — open an interactive shell