Tail the gateway logs and export diagnostics
gateway & service
// what it does
openclaw logs --follow tails the live log; persisted logs live in ~/.openclaw/logs/. For a bug report, openclaw gateway diagnostics export bundles sanitized logs (default 5000 lines) with health and stability snapshots into a single shareable zip.
// shell
$ openclaw logs --follow$ openclaw gateway diagnostics export// gotcha
diagnostics export sanitizes secrets, but skim the zip before sharing it — custom config values and paths can still be identifying.