{"name":"logs","slug":"logs","family":"cli","title":"CLI flags","noun":"CLI flag","description":"Memory recall no longer feeds a session its own transcript notes back to itself.","description_source":"entry","described_by":{"version":"2.1.219","anchor":"memory-recall-skips-the-current-session-s-own-logs"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.296","anchor":"memory-consolidation-prompt-drops-session-log-phase","heading":"Memory consolidation no longer reads the session logs folder","line":"The instructions for consolidating Claude's memory no longer point it at session logs, only at a sessions folder if one exists","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"claude-attach-accepts-a-session-name","heading":"claude attach and claude logs accept a session name","line":"`claude attach` and `claude logs` now take a session name as well as an id, and part of the name is enough","released_at":"2026-10-05 18:12:44","reason":"named in this entry"},{"version":"2.1.290","anchor":"background-sessions-refer-by-name-logs-prints-name-matches","heading":"claude logs now finds background sessions by name","line":"`claude logs` now accepts a session's name, or part of it, as well as its ID, and lists the matches when the name is ambiguous","released_at":"2026-10-05 18:12:44","reason":"named in this entry"},{"version":"2.1.287","anchor":"git-head-fingerprint-now-includes-logshead-for-non-branch-r","heading":"Git state check reads the HEAD history when you are not on a branch","line":"Claude Code's check for git changes now reads git's HEAD history file when HEAD does not point at a regular branch","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"desktop-flag-rejected-when-combined-with-background-or-wor","heading":"New --desktop flag, and background commands now accept options in front of them","line":"`--desktop` opens the Claude Desktop app and now errors when combined with background or worktree options","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.282","anchor":"old-file-cleanup-also-clears-access-audit-and-checks-each-di","heading":"Old access-audit files are now cleaned up, and cleanup checks folders more carefully","line":"Routine cleanup of old files now includes the access-audit folder and skips or stops on folders that are links or get swapped mid-cleanup","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.282","anchor":"sandbox-more-claude-subdirectories-added-to-the-protecte","heading":"Sandbox gives four more Claude config folders the same protection as existing ones","line":"The sandbox now treats the todos, statsig, logs and access-audit folders under the Claude config directory like the folders it already protected","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"background-session-subcommands-in-cli-help","heading":"Background session subcommands in CLI help","line":"CLI help now lists attach, logs, stop, respawn and rm for background sessions.","released_at":"2026-08-28 15:34:26","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"bg-help-now-names-the-commands-that-take-the-printed-id","heading":"--bg help now names the commands that take the printed id","line":"--bg help now names attach, logs, stop and rm as the commands taking the printed id.","released_at":"2026-08-28 15:34:26","reason":"found in this entry's text"},{"version":"2.1.248","anchor":"claude-logs-no-longer-lets-replayed-output-corrupt-your-term","heading":"claude logs no longer lets replayed output corrupt your terminal","line":"Replaying job output with `claude logs` can no longer garble your terminal.","released_at":"2026-08-27 20:35:36","reason":"named in this entry"}],"entries_total":14,"docs":[{"source":"api","path":"about-claude\/models\/optimizing-for-cost-and-intelligence","title":"optimizing-for-cost-and-intelligence","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/legal-summarization","title":"legal-summarization","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/deploy-helm","title":"deploy-helm","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/quickstart","title":"quickstart","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/security","title":"security","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/troubleshooting","title":"troubleshooting","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/browser-use-sdk","title":"browser-use-sdk","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/browser-use-tool","title":"browser-use-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/computer-use-tool","title":"computer-use-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/programmatic-tool-calling","title":"Process results programmatically","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/logs","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}