I am logging the request body if some custom exception occurs. For this, I have added a filter which caches the HttpServletRequest object using the Conten
HttpServletRequest
Conten