{"name":"CLAUDE_CODE_DEBUG_LOG_LEVEL","slug":"claude-code-debug-log-level","family":"env","title":"Environment variables","noun":"environment variable","description":"Minimum log level written to the debug log file. Values: `verbose`, `debug` (default), `info`, `warn`, `error`. Set to `verbose` to include high-volume diagnostics like full status line command output, or raise to `error` to reduce noise","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.227","anchor":"debug-logging-rebuilt-around-a-single-logger-instance","heading":"Debug logging rebuilt around a single logger instance","line":"Debug logging now runs through one logger that keeps queued lines when it restarts.","released_at":"2026-08-10 20:56:57","reason":"named in this entry, found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true}],"docs_total":1,"gates":[],"related":[{"name":"CLAUDE_CODE_DEBUG_LOGS_DIR","slug":"claude-code-debug-logs-dir","description":"Override the debug log file path. Despite the name, this is a file path, not a directory. Requires debug mode to be enabled separately via `--debug`, `\/debug`, or the `DEBUG` environment variable: setting this variable alone does not enable logging. The [`--debug-file`](\/docs\/en\/cli-reference#cli-flags) flag does both at once. Defaults to `~\/.claude\/debug\/<session-id>.txt`"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-debug-log-level","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}