Claude Code v2.1.332 ·
Long hook output is no longer written to the debug log
When a hook's output is long, the debug log now records only how many characters it had instead of the output itself
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.332,
ImprovementsSection of the release
What
A hook is a command you set up to run at certain moments in Claude Code. The debug log used to record a hook's full output after its name and outcome.
When the output is longer than a set size, the log now records only its length in characters and says the output was not logged.
Why
Debug logs no longer fill up with large hook output, and are less likely to hold sensitive text a hook printed.
See this entry in the whole of v2.1.332 →