* feat: add --localTime options to make logs to show time with local time zone fix #12447 * fix: prep logs local-time option and docs (#13818) (thanks @xialonglee) --------- Co-authored-by: xialonglee <li.xialong@xydigit.com> Co-authored-by: Sebastian <19554889+sebslight@users.noreply.github.com>
29 lines
621 B
Markdown
29 lines
621 B
Markdown
---
|
|
summary: "CLI reference for `openclaw logs` (tail gateway logs via RPC)"
|
|
read_when:
|
|
- You need to tail Gateway logs remotely (without SSH)
|
|
- You want JSON log lines for tooling
|
|
title: "logs"
|
|
---
|
|
|
|
# `openclaw logs`
|
|
|
|
Tail Gateway file logs over RPC (works in remote mode).
|
|
|
|
Related:
|
|
|
|
- Logging overview: [Logging](/logging)
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
openclaw logs
|
|
openclaw logs --follow
|
|
openclaw logs --json
|
|
openclaw logs --limit 500
|
|
openclaw logs --local-time
|
|
openclaw logs --follow --local-time
|
|
```
|
|
|
|
Use `--local-time` to render timestamps in your local timezone. `--localTime` is supported as a compatibility alias.
|