Skip to content

Commit

Permalink
IM-283 Add more logging info in request to CDS
Browse files Browse the repository at this point in the history
  • Loading branch information
iperdomo committed Feb 21, 2024
1 parent 701fc29 commit 99e688f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected boolean downloadChunk(int chunk, String variable, File destinationDire

String jsonBody = JsonUtils.printAsJson(body);

Logging.INSTANCE.info("requesting chunk " + chunk + " of " + variable + " to CDS API");
Logging.INSTANCE.info("requesting chunk " + chunk + " of " + variable + " to CDS API: " + jsonBody);

HttpResponse<JsonNode> response = Unirest.post(getEndpointUrl("resources/datasets/" + this.dataset))
.basicAuth(user, apiKey).header("Accept", "application/json").body(jsonBody).asJson();
Expand Down

0 comments on commit 99e688f

Please sign in to comment.