----- 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:
>
> > Hello,
> > 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
>
> Change the logkit.xconf file to:
>
>   ...
>   <categories>
>     <category name="core" log-level="DEBUG">
>       <log-target id-ref="core"/>
>       <log-target id-ref="error"/>
>
>       <!-- add this line -->
>       <category name="store.janitor" log-level="ERROR"/>
>
>    </category>
>    ...
>
> to get rid of those messages.
>
Hi,
Thanks to both Giacomo and Luca for taking the trouble to reply. I've made
all kinds of changes. Unfortunately, none seemed to work. My logkit.xconf
does not contain a <category name="core" line. I tried putting the category
child inside every parent category i have. I also tried adding the entire
sample you gave as a new category node. Earlier, I had changed the web.xml
<init-param> to FATAL-ERROR. So I tried changing it back again, but none of
these worked.

This is how the categories node of my logkit.xconf looks. It hasn't changed
since I installed Cocoon2.0.

  <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">
         <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.
--
Stephen Clarke



---------------------------------------------------------------------
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]>

Reply via email to