[MRM-1842] Remove per default log4j2 Async Logging

This commit is contained in:
Olivier Lamy 2014-05-06 12:28:44 +10:00
parent 0312f52d7f
commit 3df83d78af
2 changed files with 42 additions and 42 deletions

View File

@ -63,69 +63,69 @@
</appenders>
<loggers>
<asyncLogger name="org.apache.archiva.redback.struts2.action.AuditEvent" additivity="false" level="info">
<logger name="org.apache.archiva.redback.struts2.action.AuditEvent" additivity="false" level="info">
<appender-ref ref="redbackAuditLog" />
</asyncLogger>
</logger>
<asyncLogger name="org.apache.archiva.AuditLog" additivity="false" level="info">
<logger name="org.apache.archiva.AuditLog" additivity="false" level="info">
<appender-ref ref="auditlog" />
</asyncLogger>
</logger>
<!-- INFO level loggers can use the default
<asyncLogger name="org.apache.archiva.consumers" level="info"/>
<logger name="org.apache.archiva.consumers" level="info"/>
<asyncLogger name="org.apache.archiva" level="info"/>
<logger name="org.apache.archiva" level="info"/>
<asyncLogger name="org.quartz" level="info"/>
<logger name="org.quartz" level="info"/>
<asyncLogger name="org.apache.jasper" level="info"/>
<logger name="org.apache.jasper" level="info"/>
<asyncLogger name="com.opensymphony.xwork2" level="info"/>
<logger name="com.opensymphony.xwork2" level="info"/>
<asyncLogger name="org.apache.struts2" level="info"/>
<logger name="org.apache.struts2" level="info"/>
-->
<!-- WebDav objects -->
<asyncLogger name="org.apache.archiva.webdav.ArchivaDavResource" level="info"/>
<logger name="org.apache.archiva.webdav.ArchivaDavResource" level="info"/>
<asyncLogger name="org.apache.archiva.webdav.ArchivaDavResourceFactory" level="info"/>
<logger name="org.apache.archiva.webdav.ArchivaDavResourceFactory" level="info"/>
<!-- squelch noisy objects (for now) -->
<asyncLogger name="org.apache.commons" level="warn"/>
<logger name="org.apache.commons" level="warn"/>
<asyncLogger name="net.sf.ehcache" level="warn"/>
<logger name="net.sf.ehcache" level="warn"/>
<!-- retained for Redback -->
<asyncLogger name="JPOX" level="warn"/>
<logger name="JPOX" level="warn"/>
<asyncLogger name="JPOX.MetaData" level="error"/>
<logger name="JPOX.MetaData" level="error"/>
<asyncLogger name="JPOX.RDBMS.SQL" level="error"/>
<logger name="JPOX.RDBMS.SQL" level="error"/>
<asyncLogger name="SQL" level="error"/>
<logger name="SQL" level="error"/>
<asyncLogger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
<logger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
<!-- debug wagon transfer -->
<!--
<asyncLogger name="org.apache.archiva.proxy.common" level="debug"/>
<logger name="org.apache.archiva.proxy.common" level="debug"/>
-->
<!-- apache httpclient debug content transfer verbose -->
<!--
<asyncLogger name="org.apache.http.wire" level="debug"/>
<logger name="org.apache.http.wire" level="debug"/>
-->
<!-- apache httpclient log headers -->
<!--
<asyncLogger name="org.apache.http.headers" level="debug"/>
<logger name="org.apache.http.headers" level="debug"/>
-->
<asyncRoot level="info" includeLocation="true">
<root level="info" includeLocation="true">
<appender-ref ref="rolling"/>
</asyncRoot>
</root>
</loggers>
</configuration>

View File

@ -50,46 +50,46 @@
<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"/>
<logger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
<asyncLogger name="org.apache.archiva.admin.repository.managed" level="info"/>
<logger name="org.apache.archiva.admin.repository.managed" level="info"/>
<asyncLogger name="org.springframework" level="info"/>
<logger name="org.springframework" level="info"/>
<asyncLogger name="org.codehaus.plexus" level="info"/>
<logger name="org.codehaus.plexus" level="info"/>
<asyncLogger name="org.codehaus.redback" level="info"/>
<logger name="org.codehaus.redback" level="info"/>
<asyncLogger name="org.apache.cxf" level="info"/>
<logger name="org.apache.cxf" level="info"/>
<asyncLogger name="org.quartz" level="info"/>
<logger name="org.quartz" level="info"/>
<asyncLogger name="org.apache.archiva.indexer.merger" level="info"/>
<logger name="org.apache.archiva.indexer.merger" level="info"/>
<asyncLogger name="org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager" level="debug" />
<logger name="org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager" level="debug" />
<asyncLogger name="org.apache.archiva.scheduler.repository.DefaultRepositoryArchivaTaskScheduler" level="debug"/>
<logger name="org.apache.archiva.scheduler.repository.DefaultRepositoryArchivaTaskScheduler" level="debug"/>
<asyncLogger name="org.apache.archiva.web.security.ArchivaAuthorizer" level="debug"/>
<logger name="org.apache.archiva.web.security.ArchivaAuthorizer" level="debug"/>
<asyncLogger name="org.apache.archiva.redback.rest.services.DefaultRoleManagementService" level="debug"/>
<logger name="org.apache.archiva.redback.rest.services.DefaultRoleManagementService" level="debug"/>
<asyncLogger name="org.apache.archiva.redback.components.registry.commons.CommonsConfigurationRegistry" level="debug"/>
<logger name="org.apache.archiva.redback.components.registry.commons.CommonsConfigurationRegistry" level="debug"/>
<!--
<logger name="org.apache.archiva.scheduler.indexing" level="debug"/>
-->
<asyncRoot level="info" includeLocation="true">
<root level="info" includeLocation="true">
<appender-ref ref="console"/>
<appender-ref ref="rolling"/>
</asyncRoot>
</root>
</loggers>
</configuration>