logging
The tracked changes tagged logging, newest release first. Every sentence is an item's summary.
Goes with
Changes
Claude Code v2.1.330
-
Self-hosted runner: a 403 such as from an IP allowlist is now logged with the server's reason instead of as a bad secret or token, so log alerts matching the old wording need updating.
Claude Code v2.1.323
-
Fixed the Claude apps gateway JSON logs escaping newlines and control characters in a message twice.
Claude Code v2.1.319
-
Self-hosted runner: Removed the end-of-session upload of a session's debug log; a failed session's log stays on the runner host unless --remove-session-state is set.
Claude Code v2.1.318
-
Changes the orchestrator's log lines: ok session= now prints at every log level on stdout with reason= after jti=, and nack session= ends with reason= after retryable=; scripts matching retryable=true: or retryable=false: must be updated.
Codex 0.164.0
-
Routes SQLite logs to an explicitly configured log_dir.
sqlitelogging
Claude Code v2.1.299
-
Fixed memory growth under heavy debug logging and a hang on exit when the debug log is on a mount that stops accepting writes.
-
Fixed memory growing without bound when debug output goes to stderr and the parent process stops reading it.
Claude Code v2.1.296
-
Fixed secret redaction in shared transcripts and debug logs missing some values that follow a key with no value, including JSON written inside a shell string.
Claude Code v2.1.286
-
Fixed redacted logs and transcripts showing a secret whose key name contains an invisible character such as a zero-width space.
-
Fixed logs and transcripts showing part of a URL password containing certain punctuation or running past a / to a bracketed host in an ssh URL.
Claude Code v2.1.285
-
Fixed redacted logs and transcripts showing part or all of a URL password containing @ or %40.
Claude Code v2.1.284
-
Fixed the debug log dropping failed hooks' stderr when stdout was also written and logging nothing for failed hooks without output; failed hooks now log their status code.