every minutes rolling file is not a good idea!

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1386622 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-09-17 14:18:19 +00:00
parent 6ba3ed228e
commit b07cc37a20
2 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@
<appenders>
<RollingFile name="rolling" fileName="${logsDirectory}/archiva.log"
filePattern="${logsDirectory}/archiva-%d{MM-dd-yy-HH-mm}.log">
filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log">
<PatternLayout>
<pattern>%d [%t] %-5p %c %x - %m%n</pattern>
</PatternLayout>
@ -38,7 +38,7 @@
</RollingFile>
<RollingFile name="auditlog" fileName="${logsDirectory}/archiva-audit.log"
filePattern="${logsDirectory}/logs/archiva-audit-%d{MM-dd-yy-HH-mm}.log">
filePattern="${logsDirectory}/logs/archiva-audit-%d{MM-dd-yyyy}.log">
<PatternLayout>
<pattern>%d{yyyy-MM-dd HH:mm:ss} %m%n</pattern>
</PatternLayout>
@ -48,7 +48,7 @@
</RollingFile>
<RollingFile name="redbackAuditLog" fileName="${logsDirectory}/archiva-security-audit.log"
filePattern="${logsDirectory}/archiva-security-audit.log-%d{MM-dd-yy-HH-mm}.log">
filePattern="${logsDirectory}/archiva-security-audit.log-%d{MM-dd-yyyy}.log">
<PatternLayout>
<pattern>%d{yyyy-MM-dd HH:mm:ss} - %X{redback.currentUser} - %m%n</pattern>
</PatternLayout>

View File

@ -28,7 +28,7 @@
<appenders>
<RollingFile name="rolling" fileName="${logsDirectory}/archiva.log"
filePattern="${logsDirectory}/archiva-%d{MM-dd-yy-HH-mm}.log">
filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log">
<PatternLayout>
<pattern>%d [%t] %-5p %c %x - %m%n</pattern>
</PatternLayout>
@ -38,7 +38,7 @@
</RollingFile>
<RollingFile name="auditlog" fileName="${logsDirectory}/archiva-audit.log"
filePattern="${logsDirectory}/logs/archiva-audit-%d{MM-dd-yy-HH-mm}.log">
filePattern="${logsDirectory}/logs/archiva-audit-%d{MM-dd-yyyy}.log">
<PatternLayout>
<pattern>%d{yyyy-MM-dd HH:mm:ss} %m%n</pattern>
</PatternLayout>
@ -48,7 +48,7 @@
</RollingFile>
<RollingFile name="redbackAuditLog" fileName="${logsDirectory}/archiva-security-audit.log"
filePattern="${logsDirectory}/archiva-security-audit.log-%d{MM-dd-yy-HH-mm}.log">
filePattern="${logsDirectory}/archiva-security-audit.log-%d{MM-dd-yyyy}.log">
<PatternLayout>
<pattern>%d{yyyy-MM-dd HH:mm:ss} - %X{redback.currentUser} - %m%n</pattern>
</PatternLayout>