{"version":"2.1.315","anchor":"logger-gates-writes-by-level-and-antdebug-mode","canonical_anchor":"logger-gates-writes-by-level-and-antdebug-mode","heading":"Internal log messages are written only in debug mode or internal builds","tier":"notice","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315\/e\/logger-gates-writes-by-level-and-antdebug-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315","markdown":"### Internal log messages are written only in debug mode or internal builds\n\nClaude Code's internal logger now only writes a message when its level is accepted and debug mode is on or the build is internal\n\n**What**\n\nClaude Code keeps an internal log of what it is doing. A new check decides whether a message may be written: its level (how important it is) must be one the logger accepts, and either debug mode must be on or Claude Code must be an Anthropic-internal build. The existing level comparison has also been moved into a shared helper.\n\n**Why**\n\nIn practice, regular users outside debug mode may see fewer of these log messages written.\n\n- Area: Internals\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}