Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.283 ·

Debug logger gains a switch to stop the default log file, not yet used

The debug logger can now turn off its default log file unless a log path or CLAUDE_CODE_DEBUG_LOGS_DIR is set, but nothing calls the switch yet

Group of 2 Use it now Internal Changes
JSON All of v2.1.283
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.283,
What probably matters to youSection of the release

What

When debug mode is on, Claude Code writes a debug log file. Its rule for whether to write that file now has an extra condition:

  • writesFiles() now also needs one of three things: the default file is still enabled, an explicit log file path is set, or CLAUDE_CODE_DEBUG_LOGS_DIR is set.
  • A new disableDefaultFile() method turns off the default file. It starts enabled (defaultFile = !0).
  • In the 2.1.283 bundle, disableDefaultFile appears only where it is defined, and nothing calls it.

Why

In practice nothing changes for now: the default file stays enabled and debug logs are written as before. The switch would let something stop the default debug log file while still writing logs when you ask for a specific path.

Read from
Names in the bundleCLAUDE_CODE_DEBUG_LOGS_DIR
What the documentation says
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtNothing in this build was found that switches the default file off, so this may have no effect yet.

See this entry in the whole of v2.1.283 →

Feedback