<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>
<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>
<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>
<Policies>
<TimeBasedTriggeringPolicy />
</Policies>
- </FastRollingFile>
+ </RollingRandomAccessFile>
</appenders>
<loggers>
<!--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>
<Policies>
<TimeBasedTriggeringPolicy />
</Policies>
- </FastRollingFile>
+ </RollingRandomAccessFile>
</appenders>
<loggers>