Skip to content

mooncake fleet logs

Attach to a peer's run logs (latest in-flight or terminal)

Description

Streams a peer's most recent run via SSE. Picks the most recent in-flight run if one exists; otherwise the most recent terminal run (which replays its events and closes). With --all, opens one stream per peer in peers.toml and multiplexes their events into a single [host]-prefixed stdout stream.

Flags

Flag Type Default Description
--all bool false Attach to every peer's latest run, multiplexed
--peer []string - Select peers (only with --all): repeat to UNION. Each value is a name, key=value filter, or @k=v,k2=v2 AND-group. Default: every peer in peers.toml.
--peers-file string - Override the peers.toml path
--no-color bool false Disable ANSI colors in the [host] prefix (also honors NO_COLOR env)