Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Debug log can be allowed to end short rather than block at exit

Use it now
Useful3 Signal3
Internals Notable not in their notes

You can let the debug log drop pending lines at exit instead of blocking shutdown.

syncExitDrain
What

A process can now start the debug logger with syncExitDrain: false, and when the v5 log storage backend is in use, queued lines still pending at exit are dropped instead of written. Startup prints a warning that the log may be truncated. Without an explicit false, the logger still drains as before.

Details
  • Both conditions are required: the option set explicitly to false and the v5 storage backend active.
Evidence

Sync exit drain off for this process: debug lines still queued at exit are dropped, so this log may end short

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.247 →