The request headers, request entity, response headers and response entity will be logged. By default logging will be output to System.out.
When an application is deployed as a Servlet or Filter this Jersey filter can be registered using the following initialization parameters:
@author Paul.Sandoz@Sun.Com @see com.sun.jersey.api.container.filter<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>
|
|