That worked brilliantly! Thanks :-)
Allan > -----Original Message----- > From: Alexander Klimetschek [mailto:[email protected]] > Sent: 31 July 2009 12:33 > To: [email protected] > Subject: Re: Newbie - How to switch off logging for Jackrabbit > > On Fri, Jul 31, 2009 at 12:54 PM, McKenzie, Allan (Allan)** CTR > **<[email protected]> 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 > [email protected]
