feat(log): change unhealthy log to debug level

This commit is contained in:
Quentin McGaw
2024-02-21 16:44:35 +00:00
parent 423a5c37e0
commit 0eed558b10
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ func (s *Server) runHealthcheckLoop(ctx context.Context, done chan<- struct{}) {
s.vpn.healthyTimer.Stop()
s.vpn.healthyWait = *s.config.VPN.Initial
} else if previousErr == nil && err != nil {
s.logger.Info("unhealthy: " + err.Error())
s.logger.Debug("unhealthy: " + err.Error())
s.vpn.healthyTimer.Stop()
s.vpn.healthyTimer = time.NewTimer(s.vpn.healthyWait)
}