mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
More minor logging stuff
This commit is contained in:
parent
5cf9eedf42
commit
b8980b9ed3
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ func (h *Headscale) PollNetMapHandler(
|
||||||
Str("handler", "PollNetMap").
|
Str("handler", "PollNetMap").
|
||||||
Str("id", machineKeyStr).
|
Str("id", machineKeyStr).
|
||||||
Str("machine", machine.Hostname).
|
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)
|
h.handlePollCommon(writer, req, machine, mapRequest, false)
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ func (h *Headscale) NoisePollNetMapHandler(
|
||||||
log.Debug().
|
log.Debug().
|
||||||
Str("handler", "NoisePollNetMap").
|
Str("handler", "NoisePollNetMap").
|
||||||
Str("machine", machine.Hostname).
|
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)
|
h.handlePollCommon(writer, req, machine, mapRequest, true)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue