Jersey LoggingFilter with log4j
问题 I have a rest service developed with jersey, I have a ContainerRequestFilters for print the request, as follows: <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> and I have logger in the post methods using log4j. But the LoggingFilter print in the log different log4j. Is there any way that LogginFilter use the log4j's configuration? I tried this in the log4j.xml