mapper: send the logtail instruction on every full map

Full maps moved to buildFromChange and lost WithDebugConfig, so no
frame told clients to disable log upload. Enabled logtail sends nil.
This commit is contained in:
Kristoffer Dalby
2026-09-30 15:33:08 +00:00
committed by Kristoffer Dalby
parent 56e08f10e7
commit 52a7f8c89c
10 changed files with 260 additions and 10 deletions
+4
View File
@@ -206,6 +206,10 @@ Headscale, by default, instructs clients to disable log submission to the centra
applied by a client once it successfully connected with Headscale. See the configuration option `logtail.enabled` in the
[configuration file](../ref/configuration.md) for details.
Do not grant the `https://tailscale.com/cap/data-plane-audit-logs` node attribute while `logtail.enabled` is `false`. A
client with log submission disabled treats this attribute as "the tailnet requires logging" and turns itself off, as
`tailscale down` would.
Alternatively, logging can also be disabled on the client side. This is independent of Headscale and opting out of
client logging disables log submission early during client startup. The configuration is operating system specific and
is usually achieved by: