Use new log style in cisco_telemetry_gnmi
This commit is contained in:
parent
54b83361e8
commit
3cf5b86aee
|
@ -305,7 +305,7 @@ func (c *CiscoTelemetryGNMI) handleTelemetryField(update *gnmi.Update, tags map[
|
||||||
|
|
||||||
// Make sure a value is actually set
|
// Make sure a value is actually set
|
||||||
if update.Val == nil || update.Val.Value == nil {
|
if update.Val == nil || update.Val.Value == nil {
|
||||||
log.Printf("I! [inputs.cisco_telemetry_gnmi]: Discarded empty or legacy type value with path: %s", path)
|
c.Log.Infof("Discarded empty or legacy type value with path: %q", path)
|
||||||
return aliasPath, nil
|
return aliasPath, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue