cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Geindre <sebastien.gein...@meteo.fr>
Subject Re: logging with C2.2
Date Mon, 29 Oct 2007 11:16:39 GMT

>>>
>>>   i use the reloading classloader plugin, customLog4JXconf [1] is an 
>>> optional parameter of cocoon:rcl, but i realize it has nothing to do 
>>> with cocoon itself, just with the maven plugin project. i was lost. 
>>> i am still lost.
in fact i do not know where to set this parameter for the cocoon:rcl 
plugin...

ok i found...
it is logic when you know..

a parameter of a plugin has to be set in pom.xml file :
      <plugin>
        <groupId>org.apache.cocoon</groupId>
        <artifactId>cocoon-maven-plugin</artifactId>
        <version>1.0.0-M1</version>
        <executions>
          <execution>
            <id>rcl</id>
            <phase>compile</phase>
            <goals>
              <goal>rcl</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          
<customLog4jXconf>src/main/resources/WEB-INF/log4j.xml</customLog4jXconf> 
        </configuration>
      </plugin>

what should be the path to log4j.xml in customLog4JXconf ??
the path is absolute refering to the root block path.

Now i have my own log4j.xml file.
Thanks for the discussion, note that there is no bug !! :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message