mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
More minor logging stuff
This commit is contained in:
parent
5cf9eedf42
commit
b8980b9ed3
@ -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 New Issue
Block a user