{"version":"2.1.301","anchor":"background-session-keepalive-logs-a-debug-event","canonical_anchor":"background-session-keepalive-logs-a-debug-event","heading":"Sessions that wait on background work now log why","tier":"internal","area":"Debug Logs","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301\/e\/background-session-keepalive-logs-a-debug-event","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301","markdown":"### Sessions that wait on background work now log why\n\nA session kept alive while waiting on background work now writes a debug log entry with the reasons it is waiting\n\n**What**\n\nA session is one run of Claude Code. While a session is waiting on background work, Claude Code sends a regular signal to keep it alive. Each time it does, it now writes the debug event `session_keepalive_background_wait`, which lists the reasons for the wait.\n\n**Why**\n\nThis only adds information for diagnosing problems. What Claude Code does is unchanged.\n\n- Area: Debug Logs\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}