users@jersey.java.net

[Jersey] Re: Logging HTTP Body of Request

From: Arul Dhesiaseelan <aruld_at_acm.org>
Date: Thu, 24 Jan 2013 06:53:00 -1000

If you have this enabled, you should see the request logged on the
server-side. This works just fine for me. What version of Jersey you are
using?

     <init-param>
         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
     </init-param>


-Arul


On Wed, Jan 23, 2013 at 7:45 AM, justin <justin.phillips_at_locusenergy.com>wrote:

> Hey Arul,
> Thanks for the help. I toggled DisableEntitylogging to false but I still
> don't see the body of the request (which is the Entity right?) I toggled it
> to true, and saw that the response body no longer showed up in the logs.
> When I set it back to false, the response body came back to the log, but
> the request body still wasn't there (I'm doing a post). Is it not possible
> to log the request body out of the box?
> Thanks
>