aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-17 09:37:38 +1000
committerOlivier Lamy <olamy@apache.org>2014-04-17 09:37:38 +1000
commitb2ebfd6cc257b7040644dc52e38aa5b8c4faaa4e (patch)
tree4d77f861823d2cd6f35f460a1d874db66973ada2
parent9dcb92bed00e52a263a49b20eae4dd55ade6e54e (diff)
downloadarchiva-b2ebfd6cc257b7040644dc52e38aa5b8c4faaa4e.tar.gz
archiva-b2ebfd6cc257b7040644dc52e38aa5b8c4faaa4e.zip
[MRM-1829] Change default value of of AysncLogger strategy for log4j async
-rw-r--r--archiva-jetty/pom.xml3
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/pom.xml2
2 files changed, 4 insertions, 1 deletions
diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml
index 6a6cb15d7..fa76d9b9b 100644
--- a/archiva-jetty/pom.xml
+++ b/archiva-jetty/pom.xml
@@ -177,7 +177,8 @@
-->
<systemProperty>jetty.logs=%ARCHIVA_BASE%/logs</systemProperty>
<systemProperty>java.io.tmpdir=%ARCHIVA_BASE%/temp</systemProperty>
- <systemProperty>AsyncLoggerConfig.WaitStrategy=Sleep</systemProperty>
+ <systemProperty>AsyncLoggerConfig.WaitStrategy=Block</systemProperty>
+ <systemProperty>AsyncLoggerConfig.WaitStrategy=Block</systemProperty>
<systemProperty>archiva.repositorySessionFactory.id=jcr</systemProperty>
<systemProperty>archiva.cassandra.configuration.file=%ARCHIVA_BASE%/conf/archiva-cassandra.properties</systemProperty>
</systemProperties>
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml
index b82b86828..70dcf98dc 100644
--- a/archiva-modules/archiva-web/archiva-webapp/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml
@@ -1015,6 +1015,8 @@
<cassandra.port>${cassandra.port}</cassandra.port>
<archiva.repositorySessionFactory.id>${archiva.repositorySessionFactory.id}</archiva.repositorySessionFactory.id>
<org.apache.sirona.configuration.sirona.properties>${archiva.sirona.configuration}</org.apache.sirona.configuration.sirona.properties>
+ <AsyncLoggerConfig.WaitStrategy>Block</AsyncLoggerConfig.WaitStrategy>
+ <AsyncLogger.WaitStrategy>Block</AsyncLogger.WaitStrategy>
</systemProperties>
<additionalClasspathDirs>
<additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>