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: 22389
Committed: Fri Apr 9 12:17:35 2010 UTC (9 years, 8 months ago) by jreijn
Content type: text/xml
File size: 4184 byte(s)
Log Message:
HSTTWODOCS-282: Update CMS and HST. Fixed persistence manager add log4j level for cms log4j.xml

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
74 <category additivity="true" name="org.hippoecm.repository.jackrabbit.persistence.ForkedMySqlPersistenceManager">
75 <level value="info"/>
76 <appender-ref ref="root"/>
77 </category>
78 <!-- END Get some more info from the bundle persistence -->
79
80 <!-- Block useless warnings -->
81 <category name="org.apache.jackrabbit.core.state.MLRUItemStateCache">
82 <level value="error"/>
83 <appender-ref ref="root"/>
84 </category>
85 <category name="org.apache.jackrabbit.core.state.ItemStateReferenceCache">
86 <level value="error"/>
87 <appender-ref ref="root"/>
88 </category>
89 <category name="org.apache.jackrabbit.core.state.ItemStateMap">
90 <level value="error"/>
91 <appender-ref ref="root"/>
92 </category>
93 <category name="org.hippoecm.frontend.model.JcrItemModel">
94 <level value="error"/>
95 <appender-ref ref="root"/>
96 </category>
97 <category name="org.hippoecm.frontend.JcrObservationManager$JcrListener">
98 <level value="error"/>
99 <appender-ref ref="root"/>
100 </category>
101 <category name="org.apache.wicket.Localizer">
102 <level value="error"/>
103 <appender-ref ref="root"/>
104 </category>
105 <!-- END Block useless warnings -->
106
107 <root>
108 <level value="error"/>
109 <appender-ref ref="console"/>
110 <appender-ref ref="root"/>
111 </root>
112
113 </log4j:configuration>