CLI reference / service / logs

stado service logs

Invocation

stado service logs [OPTIONS] <NAME>

Purpose

Tail a managed unit's log over the approved channel

Required inputs and options

Input or optionContract
<NAME>Service name, or the host's own name for the unit
--host <HOST>Restrict to one registry host; omit to tail every host that manages it
--lines <LINES>Lines of tail to fetch [default: 255]
--jsonCommand option; required or optional as shown in the invocation.

Output and state effect

This is an inspection/reporting operation. It emits the result described above and does not change managed state unless an explicit option in this page says otherwise. Pass `--json` when the command exposes that machine-readable option.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.