Skip to main content

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

string
Filter by log level. One of debug, info, warn, error. Shows only entries at or above the specified level.
string
Filter by component name (e.g., queue, executor, chat, cron).
string
default:"1h"
Show logs from this time window. Format: 30m, 2h, 1d. Defaults to the last hour.
string
default:"50"
Maximum number of log entries to return (non-follow mode).
boolean
Stream new log entries as they arrive via Server-Sent Events. Press Ctrl+C to stop.
boolean
Output as JSON. In follow mode each event is printed as a JSON line.

Examples

Log Levels

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: