DOCS / CLI REFERENCE

cluck scratch

Tails logs for a service.

Synopsis

cluck scratch [service] [--follow]

Description

Tails logs for a service. Named for what chickens do to find interesting things in the dirt.

Options

FlagDescription
--followStream new log lines
--since TShow logs since a time (e.g. 15m)
--level LFilter by level (info, warn, error)

All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.

Example

$ cluck scratch web --since 5m --level error
12:03:41 ERROR timeout contacting db (HEN-4101)
12:03:44 ERROR timeout contacting db (HEN-4101)

Exit codes

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Used in guides

Common errors

Related commands