Skip to content

Demote per-vCon hot-path INFO logs to DEBUG (CON-763) - #199

Merged
howethomas merged 1 commit into
mainfrom
con-763-demote-link-log
Aug 16, 2026
Merged

Demote per-vCon hot-path INFO logs to DEBUG (CON-763)#199
howethomas merged 1 commit into
mainfrom
con-763-demote-link-log

Conversation

@howethomas

@howethomas howethomas commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

At XXX volume the conserver's per-link/per-vCon progress logging emits ~5,000 lines/s — 38 GiB/day of ClickHouse storage in SigNoz, and a 3,090,000:1 INFO-to-WARNING ratio per 10 min. The signal is all in metrics and spans already (conserver.link.count, link/vCon timing histograms, per-link spans).

This keeps exactly one INFO line per vCon (Completed processing vCon ... in N seconds, which carries the timing extras) plus every anomaly line (chain halt, DLQ move, before_processing skip), and demotes the routine progress lines to DEBUG:

  • Processing link / Completed link (per link — the bulk of the volume)
  • Processing tracer / Completed tracer
  • Started processing vCon, Forwarding vCon to egress, Saving vCon to storage backends, Completed chain, Completed parallel storage writes
  • Queue status (fires once per dequeued vCon)

Expected effect at XXX: log volume drops ~97% with no loss of ops signal. Note LOG_LEVEL env is read in settings.py but never applied — the effective config is common/logging.conf (root INFO), so DEBUG lines stop being emitted with no other change.

🤖 Generated with Claude Code

At BDS volume the per-link and per-vCon progress lines emit ~5,000
log lines/s (38 GiB/day into SigNoz ClickHouse), 3M INFO lines per
10 minutes against ~1 warning. Keep one INFO summary per vCon
(Completed processing vCon ... in N seconds) and all anomaly lines
(halt, DLQ, skip); demote the rest of the routine progress lines
to DEBUG.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@howethomas
howethomas merged commit b9b0381 into main Aug 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant