Synopsis
Description
logs fetches structured log entries from the running profClaw server. Logs can be filtered by level, component, and recency. In follow mode (--follow), it connects to the server’s SSE log stream and prints new entries as they arrive.
Flags
Filter by log level. One of
debug, info, warn, error. Shows only entries at or above the specified level.Filter by component name (e.g.,
queue, executor, chat, cron).Show logs from this time window. Format:
30m, 2h, 1d. Defaults to the last hour.Maximum number of log entries to return (non-follow mode).
Stream new log entries as they arrive via Server-Sent Events. Press
Ctrl+C to stop.Output as JSON. In follow mode each event is printed as a JSON line.
Examples
Log Levels
| Level | Color | Description |
|---|---|---|
debug | dim | Verbose internal state, used for development |
info | blue | Normal operational events |
warn | yellow | Non-fatal issues that need attention |
error | red | Errors that affect functionality |
Daemon Logs
When running profClaw as a daemon, logs go to the system journal (Linux) or flat files (macOS). Use these commands to access them:Related
profclaw daemon logs- Logs when running as a system serviceprofclaw status- System health overviewprofclaw doctor- Diagnose issues