Harthelm Docs

hart logs

Show the logs of stages and services

Generated from cmd/hart at v1.5.0

Shows 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
FlagDescription
-f, --followfollow the live output
--limit inthistory only: at most this many lines, the newest (default 1000, at most 10000)
--replica stringonly this replica (pod name)
--service stringonly this service (ide for prepare and test)
--since stringonly lines since this time: a duration like 10m, or RFC 3339
--stage stringonly this stage: prepare, test or run
--step intonly this step (from 0)