View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-components/htmlcleaner/trunk/src/test/resources/log4j.xml
Revision: 33984
Committed: Fri Apr 6 11:16:24 2012 UTC (8 years, 9 months ago) by jjoachimsthal
Content type: text/xml
File size: 1258 byte(s)
Log Message:
HTMLCLEANER-6 add log4j configuration for test purposes

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3 <!--
4 Copyright 2008-2012 Hippo (www.onehippo.com)
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
19 <appender name="console" class="org.apache.log4j.ConsoleAppender">
20 <param name="Target" value="System.out"/>
21 <layout class="org.apache.log4j.PatternLayout">
22 <param name="ConversionPattern" value="%-5p %c{1} - %m%n"/>
23 </layout>
24 </appender>
25
26 <logger name="nl.hippo.htmlcleaner">
27 <level value="debug"/>
28 <appender-ref ref="console"/>
29 </logger>
30
31 <root>
32 <priority value ="error" />
33 <appender-ref ref="console" />
34 </root>
35
36 </log4j:configuration>