jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Help controlling log messages
Date Wed, 18 Mar 2009 20:14:02 GMT

On Wed, Mar 18, 2009 at 7:45 PM, Samuel Cox <crankydillo@gmail.com> wrote:
> I need some help configuring jackrabbits logging.  Do you see anything wrong
> with the following?


> slf4j-simple-1.5.2.jar

You should have just one SLF4J implementation in your classpath. It
looks like you want to use log4j for logging, so the SLF4J
implementation should be slf4j-log4j12-1.5.2.jar that you also already
have in your classpath. Drop the slf4j-simple jar that is causing your
logs to appear on standard output.

> log4j-over-slf4j-1.5.2.jar

Having both slf4j-log4j12 and log4j-over-slf4j in your classpath will
end in endless recursion where logging statements are first delegated
from SLF4J to log4j by slf4j-log4j12 and then back by
log4j-over-slf4j. Drop the log4j-over-slf4j jar.

In summary, you should only have the following slf4j and log4j jars
you have in your classpath:



Jukka Zitting

View raw message