Logs
What a Nova node logs, how to read it, and which lines need action.
A Nova node logs one line per change of state and one per failure, never one per record or request. A quiet log means nothing changed; a Warn or Error means something needs a look. This page shows the format, the lines every start writes, and the lines that need action, with what to do.
[INFO] writer: leadership born node_id=01a204e5-1ca3-78e9-906a-57ab6239f06e stream=01a204e9-014e-72f9-9d2d-6c4a3397fa53 class=standard producer=any cursor=0 fenced=false
[INFO] novad: star summary node_id=01a204e5-1ca3-78e9-906a-57ab6239f06e leaders=1 leadership_edges_suppressed=0 sessions=0 subscriptions=0 append_mibps=1.5 offered_mibps=4.4 read_mibps=0 backlog_standard_age=0s retained_mib=15.2 utilization=0.0024113905746068623 axis=cpu draining=false drained=false saturated=false stranded=false auditor_jobs=1 auditor_failed=0 auditor_torn_down=0 auditor_teardown_gated=0
[INFO] writer: leadership released node_id=01a204e5-1ca3-78e9-906a-57ab6239f06e stream=01a204e9-014e-72f9-9d2d-6c4a3397fa53 cause=deleted dur=15.368986792s offered_bytes=46275840The node takes the stream's leadership, reports its rates in the periodic summary, and gives the leadership up when the stream is deleted.
Format and levels
Logs go to standard error. --log-format text, the default, writes [LEVEL] message key=value, colored on a terminal and plain when piped or when NO_COLOR is set. --log-format json writes one object per line; the Compose and Pulumi deployments use it. --log-level takes debug, info, warn, or error, and info is the default. debug also includes embedded oxia's own logs.
| Level | What it carries |
|---|---|
| Info | One line per change of state: streams, buckets, credentials, leaderships, ledgers, recovery, drains, saturation, registration, shutdown; and the periodic summary |
| Debug | Per-connection and per-job lines: producer sessions, subscriptions, auditor jobs, queue seats. Volume grows with load. |
| Warn | A failure Nova retries, refused work, or a limit reached. A limit is logged once when reached, and again only after it was left. |
| Error | A failure that needs a person |
Every line carries node_id, the name from --node-id or the one minted on first start. Keys are snake_case, errors are err, and each message starts with its package: novad:, writer:, wal:, auditor:, queue:, and so on.
What every start logs
A start writes its lines in a fixed order:
novad: startup settings, the resolved configuration, as a table in text or asettingsobject in JSON.wal: ledger minted, once per class, withepoch,layout, andpriors_fenced.novad: memory plan, the memory plan: what each budget holds and how many sessions, subscriptions, and one-shots fit.auditor: running, when the node runs an auditor, withworkersandinterval.queue: dispatcher joined the ring: the node delivers queues, and reconsiders which ranges it delivers everypass_interval.novad: serving, with the bound addresses and the advertisedaddr.- The storage mode:
novad: S3 storageat Info, ornovad: IN-MEMORY storageornovad: LOCAL DISK storageat Warn, because neither survives a lost machine.
The star summary
Every --log-summary-interval (1 minute; 0 turns it off), a node logs one novad: star summary line, idle or not. It is the quickest health check that needs no metrics:
| Field | Meaning |
|---|---|
leaders, sessions, subscriptions | Streams led, producer sessions, and subscriptions open now |
leadership_edges_suppressed | Leadership changes over the interval that were counted but not logged, because leaderships were churning |
append_mibps, offered_mibps, read_mibps | MiB/s over the interval: acknowledged, submitted, and read from recent records |
backlog_<class>_age | Per class, the age of the oldest flight (one upload of acknowledged writes) still waiting for the indexer to record it in the metadata store |
retained_mib | Memory held in append buffers, the recent-record cache, and session transport |
utilization, axis | The busiest resource's utilization, and which resource it is |
draining, drained, saturated, stranded | The node's state flags |
auditor_jobs, auditor_failed | Auditor jobs done and failed since start, when the node runs an auditor |
auditor_torn_down, auditor_teardown_gated | Since start: deleted streams whose cleanup finished, and teardowns put back to wait for denorm |
client_connections, fleet_connections | Connections on each listener, when the node has a separate fleet listener |
An auditor-only process logs no summary of streams; it publishes its CPU, version, and start time every 5 seconds instead.
Lines that need action
Each line below shows its level beside it, what it means, and what to do.
Writes
Leadership and recovery
The auditor
An auditor also logs, at Info, each retention trim, each ledger trim, each teardown walk, and each object the probe reaps or the orphan duty reclaims. Each finished job logs auditor: job done at Debug.
Queues
Queue lines start with queue:. A node logs a reached bound once, and again only after leaving it and reaching it again.
At Info, a node logs each change of its dispatch shards and of its ranges, such as queue: seat took its range over and queue: range drained. Seats opening and closing follow worker connections and log at Debug. Queues explains the budgets these lines name.