Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Self-hosted runner gains --log-file-no-follow for safer log files

The new --log-file-no-follow option makes the self-hosted runner refuse a --log-file that is a symlink or hard link

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

Unclear What --log-file-no-follow does is not clear.

What

The self-hosted runner, the program that runs Claude Code jobs on your own machines, accepts a new option, --log-file-no-follow.

  • With it set, the file given to --log-file is opened by a stricter method. The file must be a regular file with a single name, so symlinks (shortcuts to another file) and hard links (a second name for the same file) are refused.
  • A refused file gives an error saying it "is not a regular file with a single name (it may be a hard link)".
  • Without the option, the log file is opened as before, by appending to it.

Why

On a shared runner, someone could replace the log file with a link so that log output is written into a different file. This option stops that.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat `--log-file-no-follow` does is not clear.

See this entry in the whole of v2.1.331 →

Feedback