View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/package/tomcat-cms/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: 3997 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/cms.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
45 <!-- Set some default levels -->
46 <category additivity="false" name="JPOX">
47 <level value="warn"/>
48 <appender-ref ref="root"/>
49 </category>
50 <category additivity="false" name="org.apache.wicket">
51 <level value="warn"/>
52 <appender-ref ref="root"/>
53 </category>
54 <category additivity="false" name="org.apache.jackrabbit">
55 <level value="warn"/>
56 <appender-ref ref="root"/>
57 </category>
58 <category additivity="false" name="org.hippoecm.repository">
59 <level value="warn"/>
60 <appender-ref ref="root"/>
61 </category>
62 <!-- END Set some default levels -->
63
64 <!-- Get some more info from the bundle persistence -->
65 <category additivity="false" name="org.apache.jackrabbit.core.persistence.bundle">
66 <level value="info"/>
67 <appender-ref ref="root"/>
68 </category>
69 <category additivity="false" name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
70 <level value="error"/>
71 <appender-ref ref="root"/>
72 </category>
73 <!-- END Get some more info from the bundle persistence -->
74
75 <!-- Block useless warnings -->
76 <category name="org.apache.jackrabbit.core.state.MLRUItemStateCache">
77 <level value="error"/>
78 <appender-ref ref="root"/>
79 </category>
80 <category name="org.apache.jackrabbit.core.state.ItemStateReferenceCache">
81 <level value="error"/>
82 <appender-ref ref="root"/>
83 </category>
84 <category name="org.apache.jackrabbit.core.state.ItemStateMap">
85 <level value="error"/>
86 <appender-ref ref="root"/>
87 </category>
88 <category name="org.hippoecm.frontend.model.JcrItemModel">
89 <level value="error"/>
90 <appender-ref ref="root"/>
91 </category>
92 <category name="org.hippoecm.frontend.JcrObservationManager$JcrListener">
93 <level value="error"/>
94 <appender-ref ref="root"/>
95 </category>
96 <category name="org.apache.wicket.Localizer">
97 <level value="error"/>
98 <appender-ref ref="root"/>
99 </category>
100 <!-- END Block useless warnings -->
101
102 <root>
103 <level value="error"/>
104 <appender-ref ref="console"/>
105 <appender-ref ref="root"/>
106 </root>
107
108 </log4j:configuration>