More minor logging stuff

This commit is contained in:
Juan Font Alonso committed 2022-08-15 10:44:22 +02:00
1 parent 5cf9eedf42
commit b8980b9ed3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
}
+1 -1
View File
@@ -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)
}