Apache » Cocoon »

  Cocoon Spring Configurator
      2.1
   homepage

Cocoon Spring Configurator 2.1

Logback Support

You can use the Configurator to configure Logback through an XML configuration file:

  <bean name="org.apache.cocoon.spring.configurator.logback"
        class="org.apache.cocoon.spring.configurator.logback.LogbackConfigurator"
        scope="singleton">
    <property name="resource" value="/WEB-INF/cocoon/logback.xml"/>
  </bean>

The property resource should point to a valid Logback XML configuration file. You can use all properties configured through the Configurator in the XML configuration and reference the actual values.