I have an odd exception in our application and I'd like to log when it occurs and include the complete request string including the parameters.
When I try
log.warn("Weird request " + request.getRequestURL());
I get the request string but not the parameters which were included with ? and &.
example:
/testRequest.do?param1=1¶m2=2
I only see
/testRequest.do
Can I get this whole string somewhere?