Skip to content

Commit

Permalink
Change optional mysql errors to debug level logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed May 20, 2024
1 parent fcea2ef commit b1af691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b1af691

Please sign in to comment.