Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

claude attach and claude logs accept a session name

claude attach and claude logs now take a background session's name, or part of it, in place of its id

Group of 2 Use it now New Features
JSON All of v2.1.290
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
New FeaturesKind: in v2.1.290,
What probably matters to youSection of the release

What

A background session is a Claude Code session that keeps running without a terminal window attached. claude attach reconnects you to one, and claude logs shows its output. Both used to need the session's id. They now accept <id|name>:

  • claude attach <id|name>: the help text adds that part of the session name works too.
  • claude logs <id|name>: finds a session by its name or part of it. If several sessions match, it lists them, including the text of finished sessions. Before, it only matched the start of an id.
  • Both share the same lookup, whose help text says: "Part of the session name works in place of the id. Put a name with spaces in quotes."

Why

You can reach a background session by the name you gave it instead of looking up its id. If a name has spaces, put it in quotes. If a partial name matches more than one session, claude logs shows the matches so you can pick.

Read from
Names in the bundleclaude attachclaude logs
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up claude logs, on Claude Code changelog. * Fixed `claude logs`, `stop`, `kill`, `rm` and `claude daemon status`, `stop`, `uninstall` sometimes signing you out when your login had expired or was about to changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up claude logs, on Claude Code changelog.

See this entry in the whole of v2.1.290 →

Feedback