1 <?xml version="1.0" encoding="UTF-8" ?>
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
11 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
22 <configuration status="debug">
25 <property name="logsDirectory">${sys:appserver.base}/logs</property>
29 <Console name="console" target="SYSTEM_OUT" level="info">
30 <!--PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/-->
31 <PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n}" />
33 <RollingRandomAccessFile name="rolling" fileName="${logsDirectory}/archiva.log"
34 filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log"
36 immediateFlush="true" append="true">
38 <pattern>%d [%t] %-5p %c %x - %m%n</pattern>
41 <TimeBasedTriggeringPolicy />
43 </RollingRandomAccessFile>
47 <!-- apache httpclient debug content transfer-->
49 <logger name="org.apache.http.wire">
50 <level value="debug"/>
52 <logger name="org.apache.http.headers" level="debug"/>
57 <logger name="org.apache.archiva.indexer.maven.search.MavenRepositorySearch" level="info"/>
59 <logger name="org.apache.archiva.common.plexusbridge.MavenIndexerUtils" level="info"/>
61 <logger name="JPOX" level="error"/>
63 <logger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
65 <logger name="org.apache.archiva.admin.repository.managed" level="info"/>
67 <logger name="org.springframework" level="info"/>
69 <logger name="org.codehaus.plexus" level="info"/>
71 <logger name="org.codehaus.redback" level="info"/>
73 <logger name="org.apache.cxf" level="info"/>
75 <logger name="org.quartz" level="info"/>
77 <logger name="org.apache.archiva.indexer.merger" level="info"/>
79 <logger name="org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager" level="debug" />
81 <logger name="org.apache.archiva.scheduler.repository.DefaultRepositoryArchivaTaskScheduler" level="debug"/>
83 <logger name="org.apache.archiva.web.security.ArchivaAuthorizer" level="debug"/>
85 <logger name="org.apache.archiva.redback.rest.services.DefaultRoleManagementService" level="debug"/>
87 <logger name="org.apache.archiva.components.registry.commons.CommonsConfigurationRegistry" level="debug"/>
89 <logger name="org.apache.archiva.redback.components.taskqueue.DefaultTaskQueue" level="info" />
91 <logger name="org.apache.archiva" level="debug" />
93 <logger name="org.apache.archiva.scheduler.indexing" level="debug"/>
96 <root level="info" includeLocation="true">
97 <appender-ref ref="console"/>
98 <appender-ref ref="rolling"/>