View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/package/tomcat-site/src/main/resources/log4j.xml
Revision: 20305
Committed: Mon Oct 26 12:38:14 2009 UTC (10 years, 3 months ago) by bvdschans
Content type: text/xml
File size: 3770 byte(s)
Log Message:
HSTTWODOCS-151: Create package config for clustering

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 Copyright 2007 Hippo
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS"
13 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
18 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
19
20 <!-- ====================================================================== -->
21 <!-- A P P E N D E R S -->
22 <!-- ====================================================================== -->
23
24 <!-- console -->
25 <appender name="console" class="org.apache.log4j.ConsoleAppender">
26 <layout class="org.apache.log4j.PatternLayout">
27 <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
28 </layout>
29 </appender>
30
31 <!-- log4j.log -->
32 <appender name="root" class="org.apache.log4j.DailyRollingFileAppender">
33 <param name="File" value="${catalina.home}/logs/site.log"/>
34 <param name="Append" value="true"/>
35 <param name="DatePattern" value="'.'yyyy-MM-dd"/>
36 <layout class="org.apache.log4j.PatternLayout">
37 <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
38 </layout>
39 </appender>
40
41 <!-- ====================================================================== -->
42 <!-- L O G G E R S -->
43 <!-- ====================================================================== -->
44 <category additivity="false" name="org.apache.jackrabbit">
45 <level value="warn"/>
46 <appender-ref ref="root"/>
47 </category>
48
49 <!-- oaj.state on error, too many caching warnings -->
50 <category additivity="false" name="org.apache.jackrabbit.core.state">
51 <level value="error"/>
52 <appender-ref ref="root"/>
53 </category>
54
55 <category additivity="false" name="org.apache.jackrabbit.core.persistence.bundle">
56 <level value="info"/>
57 <appender-ref ref="root"/>
58 </category>
59
60 <category additivity="false" name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
61 <level value="error"/>
62 <appender-ref ref="root"/>
63 </category>
64
65 <category additivity="false" name="org.hippoecm.repository">
66 <level value="warn"/>
67 <appender-ref ref="root"/>
68 </category>
69
70 <category additivity="true" name="org.hippoecm.hst">
71 <level value="warn"/>
72 <appender-ref ref="root"/>
73 </category>
74
75 <!-- disable cruft and development messages -->
76 <category additivity="true" name="org.hippoecm.hst.content.beans">
77 <level value="error"/>
78 <appender-ref ref="root"/>
79 </category>
80 <category additivity="true" name="org.hippoecm.hst.tag">
81 <level value="error"/>
82 <appender-ref ref="root"/>
83 </category>
84 <category additivity="true" name="org.hippoecm.hst.core.linking">
85 <level value="error"/>
86 <appender-ref ref="root"/>
87 </category>
88 <category additivity="true" name="org.hippoecm.hst.utils.SimpleHmlStringParser">
89 <level value="error"/>
90 <appender-ref ref="root"/>
91 </category>
92 <category additivity="true" name="org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository">
93 <level value="error"/>
94 <appender-ref ref="root"/>
95 </category>
96
97 <root>
98 <level value="error"/>
99 <appender-ref ref="console"/>
100 <appender-ref ref="root"/>
101 </root>
102
103 </log4j:configuration>