diff --git a/beater/eventstream.go b/beater/eventstream.go index 2d3110e3..b28b0896 100644 --- a/beater/eventstream.go +++ b/beater/eventstream.go @@ -148,7 +148,7 @@ func (es *Eventstream) Run() error { } es.icingabeat.client.PublishEvent(BuildEventstreamEvent(line)) - logp.Info("Event sent") + logp.Debug("icingabeat.eventstream", "Event sent") } select { diff --git a/beater/http.go b/beater/http.go index e232c136..a8cc7b32 100644 --- a/beater/http.go +++ b/beater/http.go @@ -18,7 +18,7 @@ func requestURL(bt *Icingabeat, method string, URL *url.URL) (*http.Response, er Transport: transport, } - logp.Info("Requested URL: %v", URL.String()) + logp.Debug("icingabeat", "Requested URL: %v", URL.String()) request, err := http.NewRequest(method, URL.String(), nil) diff --git a/beater/statuspoller.go b/beater/statuspoller.go index 0d90b970..cd8c4cc2 100644 --- a/beater/statuspoller.go +++ b/beater/statuspoller.go @@ -121,7 +121,7 @@ func (sp *Statuspoller) Run() error { processedStatusEvents := BuildStatusEvents(body) sp.icingabeat.client.PublishEvents(processedStatusEvents) - logp.Info("Events sent: %v", len(processedStatusEvents)) + logp.Debug("icingabeat.statuspoller", "Events sent: %v", len(processedStatusEvents)) } else { logp.Err("Error connecting to API: %v", responseErr)