Skip to content

mxr logs

Generated from mxr logs --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

View daemon logs

mxr logs [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

Inspect daemon logs without digging through runtime files. Combine --level, --search, and --limit to zero in on incidents.

Terminal window
mxr logs --level warn --since 1h
mxr logs --search 'timeout' --limit 200 --format jsonl
mxr logs --level error --since 24h --search 'gmail' # past errors mentioning Gmail