Add OpenClaw runtime log sweep helper#15
Conversation
|
The helper itself looks solid, but I’d fix one docs issue before merging. Request changes
Verification:
Non-blocking suggestion: add direct tests for |
|
Addressed the earlier review blocker on this PR. Verification:
Please re-review when available. |
|
Thanks — this helper looks useful and I do not see spam/backlink concerns. The script is read-only, scoped, and helpful for finding OpenClaw runtime/plugin errors across gateway/watchdog/temp logs. One blocker before merge: bash /Users/senemaro/.openclaw/workspace/skills/openclaw-ops/scripts/log-sweep.shPlease replace that with a repo-safe path/example consistent with the rest of this repo, ideally a relative path from the checked-out repo, e.g.: bash scripts/log-sweep.sh --literal "error text"or the canonical operator install path if this doc intentionally uses absolute examples. After that cleanup, this is likely good to merge. |
Summary
scripts/log-sweep.shto sweep gateway logs plus/tmp/openclaw/openclaw-*.logand/private/tmp/openclaw/openclaw-*.logWhy
Gateway-focused checks can miss plugin/runtime errors that are written to tmp OpenClaw logs. In a live incident, LCM errors such as
ALL PROVIDERS EXHAUSTED,runtime.llm.complete is unavailable, andafterTurn: ingest failed, skipping compactionwere present in/tmp/openclaw/openclaw-2026-05-16.logwhile a gateway.err-only check missed the active failure.Verification
bash -n scripts/log-sweep.shbash tests/run.shlog-sweep.sh --literal 'ALL PROVIDERS EXHAUSTED'log-sweep.sh --literal 'afterTurn: ingest failed, skipping compaction'log-sweep.sh --literal 'runtime.llm.complete is unavailable'All three live-error checks found matches in
/tmp/openclaw/openclaw-2026-05-16.log.