I cannot get weblogic to ouput the log to the console for jersey. I have this in my web.xml:
<init-param>
<param-name>com.sun.jersey.server.impl.container.ContainerRequestFilters</param-name>
<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.server.impl.container.ContainerResponseFilters</param-name>
<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
Which works great with jetty and tomcat. Log4j is also working good because I can get the log output for other modules like hibernate. I have this line in log4j.properties:
log4j.logger.com.sun.jersey=DEBUG
I am using Jersey 1.1.1.5.2 and log4j 1.2.16 on weblogic 10.3.6. Do I have to do something else to make it work?