Skip to content

Commit

Permalink
Fixed debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Mar 19, 2024
1 parent b853b37 commit 0d2d7ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ public static HttpResponse readNormalUrl(String targetUrl, Charset charset, List

String data = entityToString(entity, charset);
if (LOGGER.isTraceEnabled()) {
LOGGER.trace("Received: ", Utils.cleanForLogging(data));
LOGGER.trace("Received: {}", Utils.cleanForLogging(data));
} else if (LOGGER.isDebugEnabled()) {
LOGGER.trace("Received: ", Utils.cleanForLogging(data, 100));
LOGGER.debug("Received: {}", Utils.cleanForLogging(data, 100));
}

return new HttpResponse(statusCode, data, response.getAllHeaders());
Expand Down

0 comments on commit 0d2d7ce

Please sign in to comment.