mxr logs
Generated from
mxr logs --help. After editingcrates/daemon/src/cli/, update and review the snapshots withscripts/cargo-test -p mxr --test integration cli_help::, then rebuildsite/.
View daemon logs
mxr logs [OPTIONS]Options
Section titled “Options”| Flag | Description |
|---|---|
--no-follow |
|
--level <LEVEL> |
|
--since <SINCE> |
|
--search <SEARCH> |
Free-text substring filter applied to each log line. Case-insensitive |
--limit <LIMIT> |
Initial matching tail across retained logs (1..=10000). Default 200 [default: 200] |
--purge |
|
--dry-run |
Preview the same owned-archive/event cutoff without deleting anything |
--format <FORMAT> |
Output format. json/jsonl emit one JSON object per line with { timestamp, level, message, raw } fields parsed from JSON or legacy text [possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
Use When
Section titled “Use When”Inspect daemon logs without digging through runtime files. Combine --level, --search, and --limit to zero in on incidents.
Everyday Examples
Section titled “Everyday Examples”mxr logs --level warn --since 1hmxr logs --search 'timeout' --limit 200 --format jsonlmxr logs --level error --since 24h --search 'gmail' # past errors mentioning GmailSee also
Section titled “See also”- CLI overview: full command index
- Concepts: query operators, search modes, JSON shapes
- Automation contract: which commands support
--format json,--dry-run, stdin