cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r549474 - /cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/log4j.xml
Date Thu, 21 Jun 2007 13:30:08 GMT
Author: reinhard
Date: Thu Jun 21 06:30:07 2007
New Revision: 549474

URL: http://svn.apache.org/viewvc?view=rev&rev=549474
Log:
- use the work directory of the Maven Jetty plugin as default log directory
- formatting

Modified:
    cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/log4j.xml

Modified: cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/log4j.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/log4j.xml?view=diff&rev=549474&r1=549473&r2=549474
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/log4j.xml
(original)
+++ cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/log4j.xml
Thu Jun 21 06:30:07 2007
@@ -18,44 +18,44 @@
 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
 
-    <!-- This is a sample configuration for log4j.
-         It simply just logs everything into a single
-         log file.
-         Note, that you can use properties for value substitution.
-    -->
-    <appender name="COCOON_DEFAULT" class="org.apache.log4j.FileAppender">
-        <param name="File"   value="./target/rcl/work/log4j.log"/>
-        <param name="Append" value="true"/>       
-        <layout class="org.apache.log4j.PatternLayout">
-          <param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
-        </layout>     
-    </appender>
+  <!-- This is a sample configuration for log4j.
+       It simply just logs everything into a single
+       log file.
+       Note, that you can use properties for value substitution.
+  -->
+  <appender name="COCOON_DEFAULT" class="org.apache.log4j.FileAppender">
+    <param name="File"   value="./target/work/log/log4j.log"/>
+    <param name="Append" value="true"/>
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
+    </layout>
+  </appender>
 
-    $if(useConsoleAppender)$
-    <appender name="COCOON_DEFAULT_CONSOLE" class="org.apache.log4j.ConsoleAppender">
-        <layout class="org.apache.log4j.PatternLayout">
-            <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
-        </layout>     
-    </appender>
-
-    $endif$
-    $if(useSocketAppender)$
-    <appender name="COCOON_DEFAULT_SOCKET" class="org.apache.log4j.SocketAppender">
-      <layout class="org.apache.log4j.PatternLayout">
+  $if(useConsoleAppender)$
+  <appender name="COCOON_DEFAULT_CONSOLE" class="org.apache.log4j.ConsoleAppender">
+    <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
-      </layout>     
-    </appender>
-    
-    $endif$    
-    <root>
-      <priority value="\${org.apache.cocoon.log4j.loglevel}"/>
-      <appender-ref ref="COCOON_DEFAULT" />
-    $if(useConsoleAppender)$
-      <appender-ref ref="COCOON_DEFAULT_CONSOLE" />
-    $endif$
-    $if(useConsoleAppender)$
-      <appender-ref ref="COCOON_DEFAULT_SOCKET" />
-    $endif$    
-    </root>
+    </layout>
+  </appender>
+
+  $endif$
+  $if(useSocketAppender)$
+  <appender name="COCOON_DEFAULT_SOCKET" class="org.apache.log4j.SocketAppender">
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
+    </layout>
+  </appender>
+
+  $endif$
+  <root>
+    <priority value="\${org.apache.cocoon.log4j.loglevel}"/>
+    <appender-ref ref="COCOON_DEFAULT" />
+  $if(useConsoleAppender)$
+    <appender-ref ref="COCOON_DEFAULT_CONSOLE" />
+  $endif$
+  $if(useConsoleAppender)$
+    <appender-ref ref="COCOON_DEFAULT_SOCKET" />
+  $endif$
+  </root>
 
 </log4j:configuration>



Mime
View raw message