From bfa3eeb8bfed8d1bbf11423600787e05cf7eb8eb Mon Sep 17 00:00:00 2001 From: jif Date: Thu, 9 Jul 2026 14:35:09 +0100 Subject: [PATCH] Filter routine Hyper logs from SQLite (#31791) ## Why The SQLite feedback log currently persists Hyper's TRACE, DEBUG, and INFO connection-pool bookkeeping. Healthy connects, checkouts, reuse, and timer activity generated thousands of small rows during active sessions without adding useful feedback context. ## What changed - Set the `hyper_util` target prefix to WARN for the SQLite feedback-log layer. - Continue persisting Hyper warnings and errors. - Leave other tracing and OpenTelemetry subscribers unchanged. This removes routine dependency chatter while preserving actionable failures. Related to #28224. --- codex-rs/state/src/log_db.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-rs/state/src/log_db.rs b/codex-rs/state/src/log_db.rs index cd2c9153df..01c8ac3951 100644 --- a/codex-rs/state/src/log_db.rs +++ b/codex-rs/state/src/log_db.rs @@ -53,6 +53,7 @@ const LOG_FLUSH_INTERVAL: Duration = Duration::from_secs(2); pub fn default_filter() -> Targets { Targets::new() .with_default(LevelFilter::TRACE) + .with_target("hyper_util", LevelFilter::WARN) .with_target("log", LevelFilter::OFF) .with_target("codex_otel.log_only", LevelFilter::OFF) .with_target("codex_otel.trace_safe", LevelFilter::OFF)