Hi,
Stephen Clarke wrote:
> ----- Original Message -----
> From: "giacomo" <[EMAIL PROTECTED]>
> To: "Cocoon" <[EMAIL PROTECTED]>
> Sent: Sunday, February 10, 2002 1:35 PM
> Subject: Re: Newbie question::Redundant logging...
>
> >> On Sun, 10 Feb 2002, Stephen Clarke wrote:
> > > I have noticed that Cocoon writes the following four lines in my log
> file
> > > every ten seconds. This is preventing my hard drive from spinning down
> and
> > > unnecessarily busying the drive. Is there any way to stop it? My
> development
>
> > > server is rarely visited, but I like to leave it running on minimum
>
> power
>
> > > just in case.
> > >
> > > DEBUG (2002-02-10) 06:37.10:682 [root.sto] (Unknown-URI)
> > > Unknown-thread/StoreJanitorImpl: getJVM().totalMemory()=10067968
> > > DEBUG (2002-02-10) 06:37.10:682 [root.sto] (Unknown-URI)
> > > Unknown-thread/StoreJanitorImpl: getHeapsize()=60000000
> > > DEBUG (2002-02-10) 06:37.10:682 [root.sto] (Unknown-URI)
> > > Unknown-thread/StoreJanitorImpl: getJVM().freeMemory()=935640
> > > DEBUG (2002-02-10) 06:37.10:682 [root.sto] (Unknown-URI)
> > > Unknown-thread/StoreJanitorImpl: getFreememory()=1000000
> >
> This is how the categories node of my logkit.xconf looks. It hasn't changed
> since I installed Cocoon2.0.
Logging categories changed a lot between 2.0 and 2.0.1. Giacomo described
the procedure for 2.0.1.
> <categories>
> <category name="cocoon" log-level="DEBUG">
> <log-target id-ref="cocoon"/>
> </category>
> <category name="root" log-level="DEBUG">
> <log-target id-ref="root"/>
> <category name="store" log-level="DEBUG">
^^^^^
Change ths to ERROR
> <log-target id-ref="components"/>
> <log-target id-ref="filter"/>
> </category>
>
> <category name="xslt" log-level="DEBUG">
> <log-target id-ref="components"/>
> <log-target id-ref="filter"/>
> </category>
> </category>
> </categories>
>
> Where should I put that additional line? I would be grateful for any
> further help. Thanks again.
Martin
--
Martin Holz <[EMAIL PROTECTED]> phone: 0049-30-39977 218
FIZ CHEMIE BERLIN
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>