aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
blob: 55668911af29073819c762d33e30a6f89d435017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->


<configuration status="debug">

  <properties>
    <property name="logsDirectory">${sys:appserver.base}/logs</property>
  </properties>

  <appenders>
    <Console name="console" target="SYSTEM_OUT" level="info">
      <!--PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/-->
      <PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n}" />
    </Console>
    <RollingRandomAccessFile name="rolling" fileName="${logsDirectory}/archiva.log"
                     filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log"

                             immediateFlush="true" append="true">
      <PatternLayout>
        <pattern>%d [%t] %-5p %c %x - %m%n</pattern>
      </PatternLayout>
      <Policies>
        <TimeBasedTriggeringPolicy />
      </Policies>
    </RollingRandomAccessFile>
  </appenders>
  <loggers>

    <!-- apache httpclient debug content transfer-->
    <!--
    <logger name="org.apache.http.wire">
      <level value="debug"/>
    </logger>
    <logger name="org.apache.http.headers" level="debug"/>
    -->

    <logger name="org.apache.archiva.indexer.search.MavenRepositorySearch" level="info"/>

    <logger name="org.apache.archiva.common.plexusbridge.MavenIndexerUtils" level="info"/>

    <logger name="JPOX" level="error"/>

    <logger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>

    <logger name="org.apache.archiva.admin.repository.managed" level="info"/>

    <logger name="org.springframework" level="info"/>

    <logger name="org.codehaus.plexus" level="info"/>

    <logger name="org.codehaus.redback" level="info"/>

    <logger name="org.apache.cxf" level="info"/>

    <logger name="org.quartz" level="info"/>

    <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"/>

    <logger name="org.apache.archiva.redback.components.taskqueue.DefaultTaskQueue" level="info" />

    <logger name="org.apache.archiva" level="debug" />
    <!--
    <logger name="org.apache.archiva.scheduler.indexing" level="debug"/>
    -->

    <root level="info" includeLocation="true">
      <appender-ref ref="console"/>
      <appender-ref ref="rolling"/>
    </root>
  </loggers>
</configuration>