Skip to content

Commit

Permalink
chore(inputs.mqtt): Increase log-level to warning if no message is cr…
Browse files Browse the repository at this point in the history
…eated by parser (#15837)
  • Loading branch information
mskonovalov authored Sep 4, 2024
1 parent e5c7c5e commit 4cc4aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/mqtt_consumer/mqtt_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}

Expand Down

0 comments on commit 4cc4aa6

Please sign in to comment.