autonomy logs¶
Stream structured logs from the orchestrator
Synopsis¶
Fetch or stream structured log entries from the AutonomyOps orchestrator.
Edge nodes emit structured logs through the relay infrastructure; the
orchestrator aggregates them in a configurable ring-buffer and exposes them
at GET /v1/logs.
Without --follow, prints recent entries and exits.
With --follow, opens a Server-Sent Events stream and prints each entry as
it arrives. Press Ctrl-C to stop.
Use --node <id> to restrict output to a single edge node.
Output formats:
text timestamp [LEVEL] node message (default, human-readable)
json raw JSON object per line (JSONL)
The orchestrator URL is resolved from (in precedence order):
1. --orchestrator-url flag
2. AUTONOMY_ORCHESTRATOR_URL environment variable
3. orchestrator.url in ~/.config/autonomy/config.yaml
Usage¶
autonomy logs [flags]
Options¶
--follow stream new entries as they arrive (SSE)
--limit int maximum number of entries to return in batch mode (0 = server default, ignored with --follow)
--node string restrict log output to this edge-node ID
--orchestrator-url string orchestrator base URL (env: AUTONOMY_ORCHESTRATOR_URL)
--output string output format: "text" or "json" (default "text")