Files

29 lines
568 B
Markdown
Raw Permalink Normal View History

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
title: "logs"
2026-01-15 06:12:54 +00:00
---
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:
2026-01-31 21:13:13 +09:00
2026-01-15 06:12:54 +00:00
- 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
openclaw logs --local-time
openclaw logs --follow --local-time
2026-01-15 06:12:54 +00:00
```
Use `--local-time` to render timestamps in your local timezone.