Skip to content

mxr logs

Generated from mxr logs --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

View daemon logs

mxr logs [OPTIONS]
FlagDescription
--no-follow
--level <LEVEL>
--since <SINCE>
--search <SEARCH>Free-text substring filter applied to each log line. Case-insensitive
--limit <LIMIT>Maximum lines to return when not following. Default 200 [default: 200]
--purge
--format <FORMAT>Output format. json/jsonl emit one JSON object per line with { timestamp, level, message } fields parsed from the log line [possible values: table, json, jsonl, csv, ids]
-h, --helpPrint 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