Skip to main content

Description

Stream logs from the Reactor log gateway.
With no argument, reactor logs streams the model defined in the nearest reactor.yaml. Pass a canonical <slug>/<name> to stream a different model. To stream one session or instance, name it with --session / --instance; --model is the explicit form of the <slug>/<name> model target. By default the command prints the historical window (up to the last hour) and then exits. Pass -f / --follow to keep tailing live until Ctrl+C. Combine with shell tools for filtering and slicing:
When stdout is a terminal, structured runtime log lines (JSON) render as a readable single-line format: date and time, LEVEL, message, then the remaining fields as key=value pairs (a record’s exc_info traceback, when present, prints on the lines below). Other lines print verbatim. Piped or redirected output is always the raw line as received (so the examples above and | jq pipelines keep working); pass --raw to force that in a terminal too. Colours honour the NO_COLOR convention. Use --since / --until to request a specific historical window instead of the gateway’s default lookback. Each accepts an RFC3339 timestamp or a duration meaning “that long ago”:

Options

Global options

See also

  • reactor - The CLI for the Reactor platform