Skip to content

Filter noisy targets from persistent logs#29457

Merged
jif-oai merged 1 commit into
mainfrom
jif/filter-persistent-log-noise
Jun 22, 2026
Merged

Filter noisy targets from persistent logs#29457
jif-oai merged 1 commit into
mainfrom
jif/filter-persistent-log-noise

Conversation

@jif-oai

@jif-oai jif-oai commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Why

The local SQLite log sink currently enables TRACE for every target. This persists high-volume dependency logs bridged through target=log and duplicates OpenTelemetry mirror events in codex_otel.log_only and codex_otel.trace_safe.

These records rapidly consume the per-partition log budget and cause unnecessary SQLite insert-and-prune churn.

What changed

  • Keep TRACE persistence for other targets.
  • Exclude bridged target=log events from the SQLite sink.
  • Exclude the two codex_otel mirror targets from the SQLite sink.
  • Share the same filter between app-server and TUI.

Remote OpenTelemetry export and metrics are unchanged.

@jif-oai jif-oai enabled auto-merge (squash) June 22, 2026 16:07
@jif-oai jif-oai disabled auto-merge June 22, 2026 16:16
@jif-oai jif-oai merged commit e98d43a into main Jun 22, 2026
30 checks passed
@jif-oai jif-oai deleted the jif/filter-persistent-log-noise branch June 22, 2026 16:17
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants