{"name":"CLAUDE_GATEWAY_LOG_FORMAT","slug":"claude-gateway-log-format","family":"env","title":"Environment variables","noun":"environment variable","description":"Setting CLAUDE_GATEWAY_LOG_FORMAT to json turns Claude Code gateway messages into structured error logs","description_source":"entry","described_by":{"version":"2.1.319","anchor":"ide-content-link-policy-telemetry-and-ccrgateway-additions"},"presence":{"first_seen":"2.1.319","removed_in":null,"in_current_build":true,"newest_mined":"2.1.319","builds":1,"mined_builds":159,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.319","anchor":"ide-content-link-policy-telemetry-and-ccrgateway-additions","heading":"Gateway messages can be logged as JSON with CLAUDE_GATEWAY_LOG_FORMAT","line":"Setting CLAUDE_GATEWAY_LOG_FORMAT to json turns Claude Code gateway messages into structured error logs","released_at":"2026-11-06 00:58:56","reason":"found in this entry's text, named in this entry"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_GATEWAY_LOG_LEVEL","slug":"claude-gateway-log-level","description":"Minimum level for the gateway's `[gateway]` log lines written to stderr: `debug`, `info`, `warn` or `error`, case-insensitive. Default `info`; an unset or unrecognised value uses `info`."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-gateway-log-format","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}