From b8980b9ed36e69ada83aa0d3f027b96344e970ef Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Mon, 15 Aug 2022 10:44:22 +0200 Subject: [PATCH] More minor logging stuff --- protocol_legacy_poll.go | 2 +- protocol_noise_poll.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol_legacy_poll.go b/protocol_legacy_poll.go index a42f399c..f7ef6548 100644 --- a/protocol_legacy_poll.go +++ b/protocol_legacy_poll.go @@ -88,7 +88,7 @@ func (h *Headscale) PollNetMapHandler( Str("handler", "PollNetMap"). Str("id", machineKeyStr). Str("machine", machine.Hostname). - Msg("Found machine in database") + Msg("A machine is entering polling via the legacy protocol") h.handlePollCommon(writer, req, machine, mapRequest, false) } diff --git a/protocol_noise_poll.go b/protocol_noise_poll.go index 7556ae30..8498dcfb 100644 --- a/protocol_noise_poll.go +++ b/protocol_noise_poll.go @@ -61,7 +61,7 @@ func (h *Headscale) NoisePollNetMapHandler( log.Debug(). Str("handler", "NoisePollNetMap"). Str("machine", machine.Hostname). - Msg("Found Noise machine in database") + Msg("A machine is entering polling via the Noise protocol") h.handlePollCommon(writer, req, machine, mapRequest, true) }