users@jersey.java.net

[Jersey] Turning on jersey server logging

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Wed, 28 Sep 2011 14:32:39 -0400

Hi Guys,

This perhaps is an FAQ but I did not find any suitable answers in
archives or in web search...

I am developing a new jersey based server and my resource class method
is not being called as expected when I hit the server using jersey
client based test program.

The "INFO: Root resource classes found" message indicates that my root
resource is indeed found. I have checked to make sure that the @Produces
matches the accept header and the path params are correct.

So I am looking to run the server with jersey logging turned on
maximally. I am not sure how to do that as there does not seem to be any
jersey related logger in LogManager:

LogManager.getLogManager().getLoggerNames();

How can I programmatically or in config turn on jersey server logging to
debug my problem?

Note I already have LoggingFilter set for ContainerRequestFilters and
ContainerResponseFilters.

Thanks for your help.

-- 
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com