What is your overall default log-level? In web.xml you have something like
<init-param>
<param-name>log-level</param-name>
<param-value>WARN</param-value>
</init-param>
Could it be here on DEBUG? Furthermore, where is the server.log? In the
WEB-INF/logs dir?
try adding directly under <categories> the following piece:
<category log-level="ERROR" name="core">
<category log-level="ERROR" name="store">
<log-target id-ref="main"/>
</category>
</category>
now, ERROR (and no DEBUG/WARN) messages from store should be written to main.log
Regards Ard
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
--------------------------------------------------------------
>
>
> Hi,
>
> It seems the the logging for cache management in cocoon is badly
> configured. Currently I have everything restricted to
> 'ERROR', and while
> it gets rid of most DEBUG statements from my cocoon.log, the
> following
> DEBUG messages _still_ show up in my server.log file:
>
> 2006-06-07 13:51:17,229 DEBUG [net.sf.ehcache.store.MemoryStore]
> cocoon-ehcache-1Cache: MemoryStore hit for
> PK_G-file-file:/opt/jboss-4.0.3SP1/server/development/./tmp/de
> ploy/tmp10799cocoon.war/welcome.xml_T-xslt-file:/opt/jboss-4.0
.3SP1/server/development/./tmp/deploy/tmp10799cocoon.war/welcome.xslt;contextPath=/apps/ccn_S-xhtml-;doctype-public=-//W3C//DTD
> XHTML 1.0
> Strict//EN;doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtm
> l1-strict.dtd;encoding=UTF-8
> 2006-06-07 13:51:17,230 DEBUG [net.sf.ehcache.Cache]
> cocoon-ehcache-1:
> Is element with key
> PK_G-file-file:/opt/jboss-4.0.3SP1/server/development/./tmp/de
> ploy/tmp10799cocoon.war/welcome.xml_T-xslt-file:/opt/jboss-4.0
.3SP1/server/development/./tmp/deploy/tmp10799cocoon.war/welcome.xslt;contextPath=/apps/ccn_S-xhtml-;doctype-public=-//W3C//DTD
> XHTML 1.0
> Strict//EN;doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtm
> l1-strict.dtd;encoding=UTF-8
> expired?: false
>
>
> Now my inkling it has something to do with the following in my
> cocoon.xconf file:
>
> <store_ logger="core.store"_>
> <parameter name="maxobjects" value="${store.maxobjects}"/>
> <parameter name="use-cache-directory" value="true"/>
> </store>
>
> BUT, how _exactly_ can I stop it logging to where it shouldnt ?! (I
> have tried to change logger to reference
> 'sitemap.core.store', but no luck)
> How can I turn these messages off?
>
>
> Thank you,
>
> Vica
> PS. Here is my logkit.xconf:
>
> ---------------
> <logkit>
> <factories>
> <factory class="org.apache.cocoon.util.log.CocoonTargetFactory"
> type="cocoon"/>
> <factory
> class="org.apache.avalon.excalibur.logger.factory.ServletTarge
> tFactory"
> type="servlet"/>
> <factory
> class="org.apache.avalon.excalibur.logger.factory.StreamTarget
> Factory"
> type="stream"/>
> </factories>
>
> <targets>
> <cocoon id="main">
> <filename>${context-root}/../../../log/cocoon.log</filename>
> <format type="cocoon">%5.5{priority} %{time} [%{category}]
> (%{uri}%{query}) %{thread}/%{class:short}:
> %{message}\n%{rootThrowable}</format>
> <append>false</append>
> </cocoon>
>
> <cocoon id="deprecation">
> <filename>${context-root}/../../../log/cocoon.log</filename>
> <format type="cocoon">%5.5{priority} %{time} [%{category}]
> (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
> <append>false</append>
> </cocoon>
>
> <servlet id="servlet">
> <format type="extended">%5.5{priority} %5.5{time}
> [%8.8{category}]
> (%{context}): %{message}\n</format>
> </servlet>
>
> <stream id="console">
> <stream>System.out</stream>
> <format type="extended">%5.5{priority} %5.5{time}
> [%8.8{category}]
> (%{context}): %{message}\n</format>
> </stream>
> <!-- The logger for the imageop components -->
> <cocoon id="imageop">
> <filename>${context-root}/../../../log/cocoon.log</filename>
> <format type="cocoon">
> %7.7{priority} %{time} [%{category}]
> %{thread}/%{class:short}: %{message}\n%{throwable}
> </format>
> <append>false</append>
> </cocoon>
> </targets>
> <categories>
> <category log-level="ERROR" name="">
> <log-target id-ref="main"/>
> </category>
> <category log-level="WARN" name="deprecation">
> <log-target id-ref="deprecation"/>
> </category>
> <category log-level="ERROR" name="imageop">
> <log-target id-ref="imageop"/>
> </category>
> </categories>
> </logkit>
>
>
>
> --
> Disclaimer: This email is confidential and may contain
> privileged information for the sole use of the person or
> business to which it is addressed. If you are not the
> intended recipient, please notify the sender by return e-mail
> or phone as you must not view, disseminate, distribute or
> copy this email without our consent. We do not accept any
> liability in connection with any computer virus, data
> corruption, incompleteness, or unauthorised amendment of this
> email. It is the sole responsibility of the receiver to scan
> for viruses before opening.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]