Skip to content

Commit

Permalink
Remove verbose debug logs from smart input (influxdata#5948)
Browse files Browse the repository at this point in the history
  • Loading branch information
glinton authored and danielnelson committed Jun 3, 2019
1 parent 411f67d commit 3c83a53
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/inputs/smart/smart.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 3c83a53

Please sign in to comment.