From d013dc05438a9bca30c644566881346d430a1659 Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 13 Aug 2025 14:18:47 -0700 Subject: [PATCH] Adjust logging --- healthcheck/healthcheck.go | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/healthcheck/healthcheck.go b/healthcheck/healthcheck.go index ae4a411..523d34e 100644 --- a/healthcheck/healthcheck.go +++ b/healthcheck/healthcheck.go @@ -123,7 +123,7 @@ func (m *Monitor) AddTargets(configs []Config) error { m.mutex.Lock() defer m.mutex.Unlock() - logger.Info("Adding %d health check targets in bulk", len(configs)) + logger.Debug("Adding %d health check targets in bulk", len(configs)) for _, config := range configs { if err := m.addTargetUnsafe(config); err != nil { @@ -136,7 +136,7 @@ func (m *Monitor) AddTargets(configs []Config) error { // Don't notify callback immediately - let the initial health checks complete first // The callback will be triggered when the first health check results are available - logger.Info("Successfully added all %d health check targets", len(configs)) + logger.Debug("Successfully added all %d health check targets", len(configs)) return nil } diff --git a/main.go b/main.go index 2db6160..8c6ae69 100644 --- a/main.go +++ b/main.go @@ -448,7 +448,7 @@ persistent_keepalive_interval=5`, fixKey(privateKey.String()), fixKey(wgData.Pub if err != nil { logger.Warn("Initial reliable ping failed, but continuing: %v", err) } else { - logger.Info("Initial connection test successful!") + logger.Info("Initial connection test successful") } pingWithRetryStopChan, _ = pingWithRetry(tnet, wgData.ServerIP, pingTimeout)