Use new log style in cisco_telemetry_gnmi

This commit is contained in:
Daniel Nelson 2019-09-24 11:17:43 -07:00
parent 54b83361e8
commit 3cf5b86aee
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ func (c *CiscoTelemetryGNMI) handleTelemetryField(update *gnmi.Update, tags map[
// Make sure a value is actually set
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
}