Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
anuvedverma committed Jul 2, 2024
1 parent 603ff4d commit 5a3c1c6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ protected void postConnectionHook(
request.getRequestURL());
}
response.getOutputStream().write(buffer, offset, length);
// [sev-16337] with a 10% probably, log the request and response headers and size for debugging
// [sev-16337] with a 10% probably, log the request and response headers
// and size for debugging
if (Math.random() < 0.10) {
log.debug("Request URL: {} , request URI {} , servlet path {} , toString {}, size {}",
request.getRequestURL(), request.getRequestURI(), request.getServletPath(),
Expand All @@ -71,7 +72,8 @@ protected void postConnectionHook(
} catch (Throwable var9) {
log.error("Exception occurred while processing request URL: {} , request URI {} ,"
+ " servlet path {} , toString {}, size {}", request.getRequestURL(),
request.getRequestURI(), request.getServletPath(), request.toString(), request.getContentLength(), var9);
request.getRequestURI(), request.getServletPath(), request.toString(),
request.getContentLength(), var9);
errorLogHeaders(request);
errorLogHeaders(response);
callback.failed(var9);
Expand Down

0 comments on commit 5a3c1c6

Please sign in to comment.