mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
Filter graceful shutdown guard and trigger traces from SQLite logs (#49414)
## What changed Set the default SQLite log filter to `DEBUG` for `tokio_graceful::guard` and `tokio_graceful::trigger`, dropping their `TRACE` events while retaining debug and higher-level diagnostics. ## Testing Extend the SQLite sink filter test to verify that guard and trigger traces are dropped, their debug events are retained, and `tokio_graceful::shutdown` trace events remain available. GitOrigin-RevId: c98495c834db35f3d8799ab4f0a1f7a82a53c8ef
This commit is contained in:
committed by
copyberry
parent
eefe0ce1a8
commit
16a7c0f0eb
@@ -74,6 +74,8 @@ pub fn default_filter() -> Targets {
|
||||
.with_target("codex_otel.log_only", LevelFilter::OFF)
|
||||
.with_target("codex_otel.trace_safe", LevelFilter::OFF)
|
||||
.with_target("rmcp", LevelFilter::INFO)
|
||||
.with_target("tokio_graceful::guard", LevelFilter::DEBUG)
|
||||
.with_target("tokio_graceful::trigger", LevelFilter::DEBUG)
|
||||
.with_target("codex_api::responses_websocket_timing", LevelFilter::OFF)
|
||||
.with_target("codex_core::post_sampling_token_estimate", LevelFilter::OFF)
|
||||
// Full model request bodies and streamed response payloads overwhelm the
|
||||
|
||||
Reference in New Issue
Block a user