users@jersey.java.net

[Jersey] Re: Enable Logging

From: Richard Sand <rsand_at_idfconnect.com>
Date: Fri, 02 Aug 2013 00:03:55 -0400

Hi Robert- Jersey 1.x uses java.util.logging, the logging system bundled
into the java runtime. If you don't like JUL (who does?) I was able to
successfully use slf4j (http://www.slf4j.org/
<http://www.slf4j.org/legacy.html>) and its legacy package for JUL
(http://www.slf4j.org/legacy.html ) to capture the Jersey 1.x logs into
another framework. Hope this helps.

-Richard
> Robert DiFalco <mailto:robert.difalco_at_gmail.com>
> Thursday, August 01, 2013 11:30 AM
> I am mainly used to log4j.properties files so I'm not sure how to
> setup logging for Jersey. I've tried system properties, log.properties
> files, etc. But I'm clearly doing something wrong.
>
> What is the best way to enable FINEST logging for Jersey in a Spring
> environment. Thanks! Oh, this is PRE-2.0.