jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McKenzie, Allan (Allan)** CTR **" <allan.mcken...@alcatel-lucent.com>
Subject RE: Newbie - How to switch off logging for Jackrabbit
Date Fri, 31 Jul 2009 12:05:20 GMT
That worked brilliantly! 

Thanks :-)

Allan

> -----Original Message-----
> From: Alexander Klimetschek [mailto:aklimets@day.com]
> Sent: 31 July 2009 12:33
> To: users@jackrabbit.apache.org
> Subject: Re: Newbie - How to switch off logging for Jackrabbit
> 
> On Fri, Jul 31, 2009 at 12:54 PM, McKenzie, Allan (Allan)** CTR
> **<allan.mckenzie@alcatel-lucent.com> wrote:
> > Dear All
> >
> > I'm trying without success to stop the logging of jackrabbit. I have a
> web application that uses the jackrabbit api.
> >
> > I've tried putting log4j.properties/log4j.xml in WEB-INF/classes yet
> this seems to have no effect.
> >
> > What am I likely to be doing wrong?
> 
> Jackrabbit uses slf4j, so you can either put the slf4j-nop.jar (no
> operation = no output at all) implementation in your classpath or use
> slf4j-log4j.jar for using log4j as underlying framework and thus
> allowing for log4j configuration [1].
> 
> [1] http://www.slf4j.org/manual.html
> 
> Regards,
> Alex
> 
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com

Mime
View raw message