diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java b/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java index 34665efa0f1..f6ce416dbff 100644 --- a/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java +++ b/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java @@ -168,6 +168,7 @@ public class HttpRequestBuilder { logger.trace("sending request \n{}", stringBuilder.toString()); } for (Map.Entry entry : this.headers.entrySet()) { + logger.trace("adding header [{} => {}]", entry.getKey(), entry.getValue()); httpUriRequest.addHeader(entry.getKey(), entry.getValue()); } try (CloseableHttpResponse closeableHttpResponse = httpClient.execute(httpUriRequest)) {