2026-01-15 06:12:54 +00:00
|
|
|
---
|
2026-01-30 03:15:10 +01:00
|
|
|
summary: "CLI reference for `openclaw logs` (tail gateway logs via RPC)"
|
2026-01-15 06:12:54 +00:00
|
|
|
read_when:
|
|
|
|
|
- You need to tail Gateway logs remotely (without SSH)
|
|
|
|
|
- You want JSON log lines for tooling
|
|
|
|
|
---
|
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
# `openclaw logs`
|
2026-01-15 06:12:54 +00:00
|
|
|
|
|
|
|
|
Tail Gateway file logs over RPC (works in remote mode).
|
|
|
|
|
|
|
|
|
|
Related:
|
|
|
|
|
- Logging overview: [Logging](/logging)
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-30 03:15:10 +01:00
|
|
|
openclaw logs
|
|
|
|
|
openclaw logs --follow
|
|
|
|
|
openclaw logs --json
|
|
|
|
|
openclaw logs --limit 500
|
2026-01-15 06:12:54 +00:00
|
|
|
```
|
|
|
|
|
|