From b1af691785919460a79f7c2265f5ee7c9afcbe35 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Mon, 20 May 2024 10:26:11 -0500 Subject: [PATCH] Change optional mysql errors to debug level logs --- internal/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index f71f863..ccb4dcf 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -113,7 +113,7 @@ func NewMetrics(port uint16, logLevel log.Level) (*Metrics, error) { } err = metrics.initTables() if err != nil { - log.Errorf("Error ensuring tables exist in MySQL. Will not process or store any MySQL only metrics: %s\n", err.Error()) + log.Debugf("Error ensuring tables exist in MySQL. Will not process or store any MySQL only metrics: %s\n", err.Error()) metrics.mysqlClient = nil }