]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1829] Change default value of of AysncLogger strategy for log4j async
authorOlivier Lamy <olamy@apache.org>
Wed, 16 Apr 2014 23:37:38 +0000 (09:37 +1000)
committerOlivier Lamy <olamy@apache.org>
Wed, 16 Apr 2014 23:37:38 +0000 (09:37 +1000)
archiva-jetty/pom.xml
archiva-modules/archiva-web/archiva-webapp/pom.xml

index 6a6cb15d74f64fdcf741dda6d0ede1d080423d90..fa76d9b9b2a5069fe4453ff76b20af1095c83f69 100644 (file)
                   -->
                   <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>
index b82b86828b3d268f1043ef0714e0af12866a7c9f..70dcf98dcf87ceadbb55055910cc09abd6b88e04 100644 (file)
             <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>