diff --git a/plugins/inputs/smart/smart.go b/plugins/inputs/smart/smart.go index 8bec2581f..b606b6f38 100644 --- a/plugins/inputs/smart/smart.go +++ b/plugins/inputs/smart/smart.go @@ -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() {