hart logs
Show the logs of stages and services
Generated from
cmd/hart at v1.5.0Shows the step output of the workspace: the history, or with -f the live lines (reconnecting when the
connection breaks) until the followed run ends or you interrupt. Without --since the latest run of each
stage is shown. -o json prints one JSON document per line, -o yaml a stream of documents.
hart logs [flags]Examples:
hart logs --stage run --service api -f
hart logs --stage prepare --since 1h| Flag | Description |
|---|---|
-f, --follow | follow the live output |
--limit int | history only: at most this many lines, the newest (default 1000, at most 10000) |
--replica string | only this replica (pod name) |
--service string | only this service (ide for prepare and test) |
--since string | only lines since this time: a duration like 10m, or RFC 3339 |
--stage string | only this stage: prepare, test or run |
--step int | only this step (from 0) |