More minor logging stuff

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

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)
}

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)
}