Skip to content

Commit

Permalink
#914 : fixed ServletLoggingFilter. When "httpLoggingEnabled":true we …
Browse files Browse the repository at this point in the history
…must pass original HTTP request and response, not wrapped logging objects.

#914
  • Loading branch information
yuriyz committed Nov 28, 2018
1 parent 97836ad commit 6ee826f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
ResponseWrapper responseWrapper = new ResponseWrapper(httpResponse);

log.debug(getRequestDescription(requestWrapper));
chain.doFilter(requestWrapper, responseWrapper);
chain.doFilter(httpRequest, httpResponse);
log.debug(getResponseDescription(responseWrapper));
}

Expand Down

0 comments on commit 6ee826f

Please sign in to comment.