From 3c83a53d51363644663e3da68e5e37395a8ba8a0 Mon Sep 17 00:00:00 2001 From: Greg <2653109+glinton@users.noreply.github.com> Date: Mon, 3 Jun 2019 12:31:20 -0600 Subject: [PATCH] Remove verbose debug logs from smart input (#5948) --- plugins/inputs/smart/smart.go | 3 --- 1 file changed, 3 deletions(-) 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() {