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.

Giacomo

>
> Grateful for any pointers on how to stop this logging behavior, or whatever
> it is.
> --
> Best,
> 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]>
>
>
>
>


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