| name | openclaw-logs-snapshot |
| description | Capture and summarize recent OpenClaw logs for incident triage. Use when users ask what failed recently, need quick error context, or want a concise failure summary with next actions. |
OpenClaw Logs Snapshot
Collect recent logs and return an actionable summary.
Collect logs
Start with:
openclaw logs
If available in environment, scope to recent window and relevant service output.
Snapshot workflow
- Capture recent error/warn entries.
- Identify repeating error signatures.
- Correlate with gateway/channel status checks.
- Produce top 1-3 probable causes.
Suggested companion checks
openclaw status
openclaw health --json
openclaw gateway status
Output format
Respond with:
- time window reviewed
- top error signatures (bullet list)
- probable cause per signature
- next command to validate/fix each cause
Guardrails
- Redact secrets/tokens from pasted log lines.
- Do not spam raw logs unless explicitly requested.
- Prioritize concise summary over long transcript dumps.