Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

OTEL raw request/response body dumping rewritten to atomic writes

OTEL debug logging of raw request/response bodies now writes files atomically instead of writing then handling errors after the fact

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaTelemetrywhat it touches
KindImprovementsin v2.1.274,
Under the hood

OTEL debug logging of raw request/response bodies now writes files atomically instead of writing then handling errors after the fact

What

When Claude Code is configured to log raw request and response bodies for OpenTelemetry (OTEL, a standard for exporting logs and metrics), the internal code that writes those dump files now builds its file paths differently and writes the file using an atomic 'replace' operation, instead of writing the file directly and catching errors afterward.

Why

An atomic write means the file is either fully written or not written at all, which avoids leaving behind a half-written or corrupted dump file if the write is interrupted. This is an internal reliability fix for anyone relying on these OTEL debug logs.

Read from
Names in the bundleOTEL_LOG_RAW_API_BODIES
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeImproved OTEL_LOG_RAW_API_BODIES=file:<dir> output: a new index.jsonl and request_body_id / message.id event attributes link each response…

See this entry in the whole of v2.1.274 →