]> source.dussan.org Git - archiva.git/commitdiff
fix log4j2 appender name
authorOlivier Lamy <olamy@apache.org>
Mon, 25 Nov 2013 00:48:31 +0000 (00:48 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 25 Nov 2013 00:48:31 +0000 (00:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1545121 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml
archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml

index 32e1ed8f0ded85e8dd9dbf250c844e0fac64ae88..a20e8d91e00a2ea3ee36c3b42b6b4b764881ea03 100644 (file)
@@ -27,7 +27,7 @@
 
   <appenders>
 
-    <FastRollingFile name="rolling" fileName="${logsDirectory}/archiva.log"
+    <RollingRandomAccessFile name="rolling" fileName="${logsDirectory}/archiva.log"
                  filePattern="${logsDirectory}/archiva-%d{yyyyMMdd}.log"
                  immediateFlush="false" append="true">
       <PatternLayout>
@@ -36,9 +36,9 @@
       <Policies>
         <TimeBasedTriggeringPolicy />
       </Policies>
-    </FastRollingFile>
+    </RollingRandomAccessFile>
 
-    <FastRollingFile name="auditlog" fileName="${logsDirectory}/archiva-audit.log"
+    <RollingRandomAccessFile name="auditlog" fileName="${logsDirectory}/archiva-audit.log"
                  filePattern="${logsDirectory}/archiva-audit-%d{yyyyMMdd}.log"
                  immediateFlush="false" append="true">
       <PatternLayout>
@@ -47,9 +47,9 @@
       <Policies>
         <TimeBasedTriggeringPolicy />
       </Policies>
-    </FastRollingFile>
+    </RollingRandomAccessFile>
 
-    <FastRollingFile name="redbackAuditLog" fileName="${logsDirectory}/archiva-security-audit.log"
+    <RollingRandomAccessFile name="redbackAuditLog" fileName="${logsDirectory}/archiva-security-audit.log"
                  filePattern="${logsDirectory}/archiva-security-audit.log-%d{yyyyMMdd}.log"
                  immediateFlush="false" append="true">
       <PatternLayout>
@@ -58,7 +58,7 @@
       <Policies>
         <TimeBasedTriggeringPolicy />
       </Policies>
-    </FastRollingFile>
+    </RollingRandomAccessFile>
 
   </appenders>
   <loggers>
index 2ae02c9969a10df75eb1fc81353a805110787e0a..8dcb4e1d58faaf002bc36d9bb10e06c443b842bb 100644 (file)
@@ -30,7 +30,7 @@
       <!--PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/-->
       <PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n}" />
     </Console>
-    <FastRollingFile name="rolling" fileName="${logsDirectory}/archiva.log"
+    <RollingRandomAccessFile name="rolling" fileName="${logsDirectory}/archiva.log"
                      filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log" immediateFlush="false" append="true">
       <PatternLayout>
         <pattern>%d [%t] %-5p %c %x - %m%n</pattern>
@@ -38,7 +38,7 @@
       <Policies>
         <TimeBasedTriggeringPolicy />
       </Policies>
-    </FastRollingFile>
+    </RollingRandomAccessFile>
   </appenders>
   <loggers>