Remove verbose debug logs from smart input (#5948)

This commit is contained in:
Greg 2019-06-03 12:31:20 -06:00 committed by Daniel Nelson
parent 411f67d2b8
commit 3c83a53d51
1 changed files with 0 additions and 3 deletions

View File

@ -125,7 +125,6 @@ func (m *Smart) Gather(acc telegraf.Accumulator) error {
return err
}
}
log.Printf("D! [inputs.smart] devices: %+#v", devices)
m.getAttributes(acc, devices)
return nil
@ -216,8 +215,6 @@ func gatherDisk(acc telegraf.Accumulator, usesudo, collectAttributes bool, smart
deviceFields := make(map[string]interface{})
deviceFields["exit_status"] = exitStatus
log.Printf("D! [inputs.smart] gatherDisk '%s'", deviceNode)
scanner := bufio.NewScanner(strings.NewReader(outStr))
for scanner.Scan() {