Skip to content

Commit

Permalink
Log entire response on debug level.
Browse files Browse the repository at this point in the history
Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
  • Loading branch information
yufei-cai committed Jul 25, 2021
1 parent c4daf69 commit ea2f6a1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,7 @@ private void completeWithResult(final HttpResponse response) {
completionResponse = createHttpResponse(HttpStatus.ACCEPTED);
}

if (logger.isDebugEnabled()) {
logger.debug("Responding with HTTP response code <{}>.", completionResponse.status().intValue());
logger.debug("Responding with entity <{}>.", completionResponse.entity());
}
logger.debug("Responding with HTTP response <{}>.", completionResponse);
httpResponseFuture.complete(completionResponse);

stop();
Expand Down

0 comments on commit ea2f6a1

Please sign in to comment.