Skip to content

Commit

Permalink
use error log level
Browse files Browse the repository at this point in the history
  • Loading branch information
anuvedverma committed Jul 1, 2024
1 parent 6718de0 commit bf3b651
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ protected void postConnectionHook(
log.error("Exception occurred while processing request URL: {} , request URI {} ,"
+ " servlet path {} , toString {}", request.getRequestURL(),
request.getRequestURI(), request.getServletPath(), request.toString(), var9);
debugLogHeaders(request);
log.error("-------HttpServletRequest headers---------");
Enumeration<String> headers = request.getHeaderNames();
while (headers.hasMoreElements()) {
String header = headers.nextElement();
log.error(header + "->" + request.getHeader(header));
}
callback.failed(var9);
}
}
Expand Down

0 comments on commit bf3b651

Please sign in to comment.