Log4j Support
You can use the Configurator to configure Log4j through an XML configuration file:
<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>
The property resource 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.
Errors and Improvements? If you see any errors or potential improvements in this document please help
us: View, Edit or comment on the latest development version (registration required).