Disable logtail for clients

This commit is contained in:
Kristoffer Dalby 2022-05-30 14:52:50 +02:00
parent a0c465c2eb
commit ff5f31b87e

3
api.go
View file

@ -279,6 +279,9 @@ func (h *Headscale) getMapResponse(
PacketFilter: h.aclRules, PacketFilter: h.aclRules,
DERPMap: h.DERPMap, DERPMap: h.DERPMap,
UserProfiles: profiles, UserProfiles: profiles,
Debug: &tailcfg.Debug{
DisableLogTail: !h.cfg.LogTail.Enabled,
},
} }
log.Trace(). log.Trace().