Added more logging

This commit is contained in:
Juan Font 2022-11-14 19:38:32 +00:00 committed by Juan Font
parent 8909f801bb
commit c5ba7552c5

View File

@ -528,6 +528,7 @@ func (h *Headscale) handleNewMachineCommon(
log.Info(). log.Info().
Caller(). Caller().
Bool("noise", machineKey.IsZero()). Bool("noise", machineKey.IsZero()).
Str("AuthURL", resp.AuthURL).
Str("machine", registerRequest.Hostinfo.Hostname). Str("machine", registerRequest.Hostinfo.Hostname).
Msg("Successfully sent auth url") Msg("Successfully sent auth url")
} }