chore(inputs.mqtt): Increase log-level to warning if no message is created by parser (#15837)

This commit is contained in:
Mikhail Konovalov 2024-09-05 02:10:05 +10:00 committed by GitHub
parent e5c7c5e061
commit 4cc4aa6a82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ func (m *MQTTConsumer) onMessage(_ mqtt.Client, msg mqtt.Message) {
if err != nil || len(metrics) == 0 {
if len(metrics) == 0 {
once.Do(func() {
m.Log.Debug(internal.NoMetricsCreatedMsg)
m.Log.Warn(internal.NoMetricsCreatedMsg)
})
}