From c3a6c3f40d1a80bcad14ae4c6e142fc613c9da10 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 13 Sep 2018 21:53:05 -0300 Subject: [PATCH] chore: add debug to http put refs ##790 --- internal/http/http.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/http/http.go b/internal/http/http.go index 7b9852a71..ccc27f9a9 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -269,6 +269,7 @@ func executeHTTPRequest(ctx *context.Context, put *config.Put, req *h.Request, c if err != nil { return nil, err } + log.Debugf("executing request: %s %s (headers: %v)", req.Method, req.URL, req.Header) resp, err := client.Do(req) if err != nil { // If we got an error, and the context has been canceled,