users@jersey.java.net

Re: [Jersey] Logging in Jersey

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 08 Dec 2009 11:09:04 +0100

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
>