diff options
author | Olivier Lamy <olamy@apache.org> | 2013-05-02 13:20:34 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-05-02 13:20:34 +0000 |
commit | 68e62f959565abfed610a0091e0e0b62bf0eb081 (patch) | |
tree | 8342e345288c6673939ace9952849f0252112da8 /archiva-modules/archiva-web | |
parent | d2f56166510b158abe1cb2614039c3041d9486d5 (diff) | |
download | archiva-68e62f959565abfed610a0091e0e0b62bf0eb081.tar.gz archiva-68e62f959565abfed610a0091e0e0b62bf0eb081.zip |
[MRM-1760] Multiple, incompatible, log name formats
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1478363 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml index 426407f0e..32e1ed8f0 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml @@ -28,7 +28,7 @@ <appenders> <FastRollingFile name="rolling" fileName="${logsDirectory}/archiva.log" - filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log" + filePattern="${logsDirectory}/archiva-%d{yyyyMMdd}.log" immediateFlush="false" append="true"> <PatternLayout> <pattern>%d [%t] %-5p %c %x - %m%n</pattern> @@ -39,7 +39,7 @@ </FastRollingFile> <FastRollingFile name="auditlog" fileName="${logsDirectory}/archiva-audit.log" - filePattern="${logsDirectory}/archiva-audit-%d{MM-dd-yyyy}.log" + filePattern="${logsDirectory}/archiva-audit-%d{yyyyMMdd}.log" immediateFlush="false" append="true"> <PatternLayout> <pattern>%d{yyyy-MM-dd HH:mm:ss} %m%n</pattern> @@ -50,7 +50,7 @@ </FastRollingFile> <FastRollingFile name="redbackAuditLog" fileName="${logsDirectory}/archiva-security-audit.log" - filePattern="${logsDirectory}/archiva-security-audit.log-%d{MM-dd-yyyy}.log" + filePattern="${logsDirectory}/archiva-security-audit.log-%d{yyyyMMdd}.log" immediateFlush="false" append="true"> <PatternLayout> <pattern>%d{yyyy-MM-dd HH:mm:ss} - %X{redback.currentUser} - %m%n</pattern> |