continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r477370 - /maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Date Mon, 20 Nov 2006 22:31:50 GMT
Author: evenisse
Date: Mon Nov 20 14:31:49 2006
New Revision: 477370

URL: http://svn.apache.org/viewvc?view=rev&rev=477370
Log:
[CONTINUUM-1004] Daily Continuum Log File rotation
Submitted by: Allan Ramirez

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml?view=diff&rev=477370&r1=477369&r2=477370
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Mon Nov 20 14:31:49 2006
@@ -347,6 +347,7 @@
       <configuration>
         <threshold>INFO</threshold>
         <default-appender>console,rolling</default-appender>
+
         <appenders>
           <appender>
             <id>console</id>
@@ -358,7 +359,7 @@
           <appender>
             <id>rolling</id>
             <threshold>DEBUG</threshold>
-            <type>org.apache.log4j.RollingFileAppender</type>
+            <type>org.apache.log4j.DailyRollingFileAppender</type>
             <conversion-pattern>%-4r [%t] %-5p %c %x - %m%n</conversion-pattern>
 
             <properties>
@@ -371,42 +372,60 @@
                 <value>true</value>
               </property>
               <property>
-                <name>maxBackupIndex</name>
-                <value>10</value>
+                <name>datePattern</name>
+                <value>'.'yyyy-MM-dd</value>
               </property>
+            </properties>
+          </appender>
+
+          <appender>
+            <id>audit</id>
+            <threshold>DEBUG</threshold>
+            <type>org.apache.log4j.DailyRollingFileAppender</type>
+            <conversion-pattern>%-4r [%t] %-5p %c %x - %m%n</conversion-pattern>
+
+            <properties>
               <property>
-                <name>maxFileSize</name>
-                <value>10MB</value>
+                <name>file</name>
+                <value>${plexus.home}/logs/audit.log</value>
+              </property>
+              <property>
+                <name>append</name>
+                <value>true</value>
+              </property>
+              <property>
+                <name>datePattern</name>
+                <value>'.'yyyy-MM-dd</value>
               </property>
             </properties>
           </appender>
         </appenders>
+
         <levels>
           <level>
-            <hierarchy>org.apache.maven.continuum.project.builder.ContinuumProjectBuilder</hierarchy>
-            <level>DEBUG</level>
+            <hierarchy>org.apache.maven.archiva.web.servlet.repository.RepositoryMapping</hierarchy>
+            <level>DEBUG, audit</level>
           </level>
+
+          <!-- Help identify bugs during testing -->
           <level>
-            <hierarchy>org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper</hierarchy>
-            <level>INFO</level>
+            <hierarchy>org.apache.maven</hierarchy>
+            <level>DEBUG</level>
           </level>
           <level>
-            <hierarchy>org.codehaus.plexus.velocity</hierarchy>
-            <level>WARN</level>
+            <hierarchy>org.codehaus.plexus.security</hierarchy>
+            <level>DEBUG</level>
           </level>
+          <!-- squelch noisy objects (for now) -->
           <level>
             <hierarchy>org.codehaus.plexus.mailsender.MailSender</hierarchy>
             <level>INFO</level>
           </level>
           <level>
-            <hierarchy>JPOX</hierarchy>
+            <hierarchy>org.quartz</hierarchy>
             <level>INFO</level>
           </level>
           <level>
-            <hierarchy>JPOX.Cache</hierarchy>
-            <level>WARN</level>
-          </level>
-          <level>
             <hierarchy>org.apache.jasper</hierarchy>
             <level>INFO</level>
           </level>
@@ -419,8 +438,22 @@
             <level>INFO</level>
           </level>
           <level>
-            <hierarchy>org.extremecomponents</hierarchy>
+            <hierarchy>org.codehaus.plexus.PlexusContainer</hierarchy>
             <level>INFO</level>
+          </level>
+          <level>
+            <hierarchy>JPOX</hierarchy>
+            <level>WARN</level>
+          </level>
+          <!--
+                    <level>
+                      <hierarchy>JPOX.RDBMS.SQL</hierarchy>
+                      <level>DEBUG</level>
+                    </level>
+          -->
+          <level>
+            <hierarchy>freemarker</hierarchy>
+            <level>WARN</level>
           </level>
         </levels>
       </configuration>



Mime
View raw message