Claude Code v2.1.328 ·
Prompt hook model replies are no longer written to normal debug logs
Claude Code now logs a prompt hook's model reply only at verbose level, and logs only its length when the reply cannot be read
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.328,
ImprovementsSection of the release
What
A prompt hook is a hook that asks a model to make a decision. A debug log is a file where Claude Code writes details for troubleshooting.
Now:
- the model's reply is logged only at verbose level
- when the reply is not valid JSON, the log gives the reply's length in characters, not its text
Previously both messages included the full reply at the normal level.
Why
What a hook's model says no longer ends up in ordinary debug logs, which keeps that content out of files you might share.
See this entry in the whole of v2.1.328 →