aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-04-25 13:38:43 +0000
committerOlivier Lamy <olamy@apache.org>2013-04-25 13:38:43 +0000
commit4c7e34d36a588405ab8fd11ab13339f1ee7eccbb (patch)
tree19638ab40f7f9f6942c3b60b0f7c6fce305d3e7a /archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
parentd287c744b4ecc7361f1313f2a1e41da1e3a7322a (diff)
downloadarchiva-4c7e34d36a588405ab8fd11ab13339f1ee7eccbb.tar.gz
archiva-4c7e34d36a588405ab8fd11ab13339f1ee7eccbb.zip
testing log4j2 FastFile with dev log4j2 configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1475765 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml49
1 files changed, 22 insertions, 27 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
index 990436b22..675b38605 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
@@ -31,15 +31,15 @@
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n}" />
</Console>
- <!--RollingFile name="console" fileName="${logsDirectory}/archiva.log"
- filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log">
+ <FastFile 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>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy />
</Policies>
- </RollingFile-->
+ </FastFile>
</appenders>
<loggers>
@@ -52,47 +52,42 @@
<logger name="org.apache.http.headers" level="debug"/>
-->
+ <asyncLogger name="org.apache.archiva.indexer.search.MavenRepositorySearch" level="info"/>
- <logger name="org.apache.archiva.indexer.search.MavenRepositorySearch" level="info"/>
+ <asyncLogger name="org.apache.archiva.common.plexusbridge.MavenIndexerUtils" level="info"/>
- <logger name="org.apache.archiva.common.plexusbridge.MavenIndexerUtils" level="info"/>
+ <asyncLogger name="JPOX" level="error"/>
- <logger name="JPOX" level="error"/>
+ <asyncLogger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
+ <asyncLogger name="org.apache.archiva.admin.repository.managed" level="info"/>
- <logger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
+ <asyncLogger name="org.springframework" level="info"/>
+ <asyncLogger name="org.codehaus.plexus" level="info"/>
- <logger name="org.apache.archiva.admin.repository.managed" level="info"/>
+ <asyncLogger name="org.codehaus.redback" level="info"/>
- <logger name="org.springframework" level="info"/>
+ <asyncLogger name="org.apache.cxf" level="info"/>
+ <asyncLogger name="org.quartz" level="info"/>
- <logger name="org.codehaus.plexus" level="info"/>
+ <asyncLogger name="org.apache.archiva.indexer.merger" level="info"/>
+ <asyncLogger name="org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager" level="debug" />
- <logger name="org.codehaus.redback" level="info"/>
+ <asyncLogger name="org.apache.archiva.scheduler.repository.DefaultRepositoryArchivaTaskScheduler" level="debug"/>
+ <asyncLogger name="org.apache.archiva.web.security.ArchivaAuthorizer" level="debug"/>
- <logger name="org.apache.cxf" level="info"/>
+ <asyncLogger name="org.apache.archiva.redback.rest.services.DefaultRoleManagementService" level="debug"/>
- <logger name="org.quartz" level="info"/>
+ <asyncLogger name="org.apache.archiva.redback.components.registry.commons.CommonsConfigurationRegistry" level="debug"/>
- <logger name="org.apache.archiva.indexer.merger" level="info"/>
-
- <logger name="org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager" level="debug" />
-
- <logger name="org.apache.archiva.scheduler.repository.DefaultRepositoryArchivaTaskScheduler" level="debug"/>
-
- <logger name="org.apache.archiva.web.security.ArchivaAuthorizer" level="debug"/>
-
- <logger name="org.apache.archiva.redback.rest.services.DefaultRoleManagementService" level="debug"/>
-
- <logger name="org.apache.archiva.redback.components.registry.commons.CommonsConfigurationRegistry" level="debug"/>
-
- <root level="info">
+ <asyncRoot level="info" includeLocation="true">
<appender-ref ref="console"/>
- </root>
+ <appender-ref ref="rolling"/>
+ </asyncRoot>
</loggers>
</configuration>