From b76a21388346607eb8f783b1501a942eacbf31a3 Mon Sep 17 00:00:00 2001 From: nwrigh Date: Tue, 14 Feb 2017 09:09:57 +0000 Subject: [PATCH] Added additional logging --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 2f9b8f9..8fa993e 100644 --- a/main.go +++ b/main.go @@ -293,6 +293,9 @@ func sendToWriter(ingestionType string, msgBody string, uuid string, elasticWrit log.Errorf("Cannot create write request: [%v]", err) } request.ContentLength = -1 + + log.Infof("Sending %s with uuid: %s to %s", ingestionType, uuid, elasticWriter) + resp, reqErr := httpClient.Do(request) if reqErr != nil { return fmt.Errorf("reqURL=[%s] concept=[%s] uuid=[%s] error=[%v]", reqURL, ingestionType, uuid, reqErr)