We've added these to our web.xml:
<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>
<init-param>
<param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
Which is nice for debugging in my dev environment, but, I can't see any examples on logging these things to files on our testing server! All I see is that the default is System.out... not how to pass in anything.
Examples would be nice! Thanks
By default, LoggingFilter logs to a JDK logger named as its fully qualified class name (com.sun.jersey.api.container.filter.LoggingFilter). You'll just have to
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With