From ff5f31b87eb17a48927f7221b9009a9dbc9ce96e Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 30 May 2022 14:52:50 +0200 Subject: [PATCH] Disable logtail for clients --- api.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api.go b/api.go index 61ec1b5f..461492a7 100644 --- a/api.go +++ b/api.go @@ -279,6 +279,9 @@ func (h *Headscale) getMapResponse( PacketFilter: h.aclRules, DERPMap: h.DERPMap, UserProfiles: profiles, + Debug: &tailcfg.Debug{ + DisableLogTail: !h.cfg.LogTail.Enabled, + }, } log.Trace().