Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Filter routine Hyper logs from SQLite (#31791)

jifbfa3eeb8bfed
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)