chore(inputs.mqtt): Increase log-level to warning if no message is created by parser (#15837)
This commit is contained in:
parent
e5c7c5e061
commit
4cc4aa6a82
|
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue