Logs in OpenClaw

From the OpenClaw cheat sheet · Gateway Management · verified Jul 2026

Logs

View and tail gateway and agent logs.

bash
# View recent logs
openclaw logs

# Tail logs in real time
openclaw logs --follow

# Limit to last N lines
openclaw logs --limit 100

# JSON output (for piping to jq)
openclaw logs --json
💡 "openclaw logs --follow" is your first stop when something isn't working
⚡ Add --local-time to see timestamps in your timezone instead of UTC
📌 Pipe --json output to jq for filtering: openclaw logs --json | jq 'select(.level == "error")'
🟢 On Linux, journalctl is an alternative — useful when the CLI itself is broken
logsdebugging

Continue with OpenClaw

Save the full cheat sheet or work through every related task.

More OpenClaw tasks

Back to the full OpenClaw cheat sheet