From bf60b55bcb5b8baec27c1d8c17108cd00da05448 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Tue, 3 Apr 2018 16:57:07 -0700 Subject: [PATCH] Don't print name of plugin or interval size during --test --- agent/agent.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/agent/agent.go b/agent/agent.go index 2183ba42c..f5f23cd05 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -203,11 +203,6 @@ func (a *Agent) Test() error { input.SetTrace(true) input.SetDefaultTags(a.Config.Tags) - fmt.Printf("* Plugin: %s, Collection 1\n", input.Name()) - if input.Config.Interval != 0 { - fmt.Printf("* Internal: %s\n", input.Config.Interval) - } - if err := input.Input.Gather(acc); err != nil { return err } @@ -217,7 +212,6 @@ func (a *Agent) Test() error { switch input.Name() { case "inputs.cpu", "inputs.mongodb", "inputs.procstat": time.Sleep(500 * time.Millisecond) - fmt.Printf("* Plugin: %s, Collection 2\n", input.Name()) if err := input.Input.Gather(acc); err != nil { return err }