Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.246 ·

Debug log lines are no longer lost when the log rotates

Debug log lines written during a log rotation are kept rather than dropped.

You'll notice Bug Fixes
JSON All of v2.1.246
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
InternalsArea: what it touches
Bug FixesKind: in v2.1.246,
Bug FixesSection of the release
What

The rotating debug log used by runners and background sessions now buffers lines written while a rotation is under way and replays them into the new file, instead of dropping them.

Details
  • Writes after the log is closed are ignored rather than erroring.
  • Closing waits for any rotation in flight before ending the stream, using a helper that returns immediately if the stream is already closed.
Evidence

[runner:session] debug log flush failed (best-effort):

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →

Feedback