users@jersey.java.net

Re: [Jersey] Logging in Jersey

From: Suneel Marthi <suneel_marthi_at_yahoo.com>
Date: Tue, 8 Dec 2009 06:49:43 -0800 (PST)

Paul,

I am trying to use slf4j binding with log4j. Is that not gonna work with Jersey?

Suneel




----- Original Message ----
From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
To: users_at_jersey.dev.java.net
Sent: Tue, December 8, 2009 5:09:04 AM
Subject: Re: [Jersey] Logging in Jersey


On Dec 8, 2009, at 9:28 AM, Robert Naczinski wrote:

> Hi,
>
> knows anybody, how I configure logging in Jersey?
>

Jersey currently uses JDK logging, so any configuration needs to utilize that. The current reason for not switching is to avoid adding further dependencies. If there are significant advantages we could switch e.g. to slf4j.

BTW we need to review the exception throwing and logging in Jersey. Currently it's a bit chaotic. For example, we should expose a well-defined set of loggers that are publicly available for configuration.

Paul.


> We use native Log4J in our projects.
>
> Thanx,
>
> Robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
For additional commands, e-mail: users-help_at_jersey.dev.java.net