A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1303.html
Document ID: 1303
Branch: main
Language: default
Name: The Spring Configurator (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 1/4/07 2:44:54 PM
Updated by: Carsten Ziegeler
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 6236 bytes (previous version: 5582 bytes)
Content diff:
(121 equal lines skipped)
<p>TODO</p>
+++ <h2>Configuring Log4j</h2>
+++
+++ <p>You can use the Configurator to
+++ configureĀ <a href="http://logging.apache.org/log4j/">Log4j</a> through an
XML
+++ configuration file:</p>
+++
+++ <pre> <bean name="org.apache.cocoon.spring.configurator.log4j"
+++
class="org.apache.cocoon.spring.configurator.log4j.Log4JConfigurator"
+++ scope="singleton">
+++ <property name="resource" value="/WEB-INF/cocoon/log4j.xconf"/>
+++ </bean>
+++ </pre>
+++
+++ <p>The property <tt>resource</tt> should point to a valid Log4j XML
+++ configuration file. You can use all properties configured through the
+++ Configurator in the XML configuration and reference the actual values.</p>
+++
</body>
</html>