View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/branches/hippogogreen-restyling-3.10.xx/conf/log4j-dev.xml
Revision: 47034
Committed: Thu Nov 6 16:31:27 2014 UTC (6 years, 2 months ago) by abanck
Content type: text/xml
File size: 5474 byte(s)
Log Message:
GOGREEN-1295:  copy for branch hippogogreen-restyling-3.10.xx

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3
4 Copyright 2011-2013 Hippo B.V. (http://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 -->
19
20 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
21 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
22
23 <!-- ====================================================================== -->
24 <!-- A P P E N D E R S -->
25 <!-- ====================================================================== -->
26
27 <!-- hippo-cms.log -->
28 <appender name="cms" class="org.apache.log4j.DailyRollingFileAppender">
29 <param name="File" value="${catalina.base}/logs/hippo-cms.log"/>
30 <param name="Append" value="true"/>
31 <layout class="org.apache.log4j.PatternLayout">
32 <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
33 </layout>
34 </appender>
35
36 <!-- hippo-site.log -->
37 <appender name="site" class="org.apache.log4j.DailyRollingFileAppender">
38 <param name="File" value="${catalina.base}/logs/hippo-site.log"/>
39 <param name="Append" value="true"/>
40 <layout class="org.apache.log4j.PatternLayout">
41 <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
42 </layout>
43 </appender>
44
45 <!-- hippo-audit.log -->
46 <appender name="audit" class="org.apache.log4j.DailyRollingFileAppender">
47 <param name="File" value="${catalina.base}/logs/hippo-audit.log"/>
48 <param name="Append" value="true"/>
49 <param name="DatePattern" value="'.'yyyy-MM-dd"/>
50 <layout class="org.apache.log4j.PatternLayout">
51 <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
52 </layout>
53 </appender>
54
55 <!-- console -->
56 <appender name="console" class="org.apache.log4j.ConsoleAppender">
57 <param name="Target" value="System.out"/>
58 <layout class="org.apache.log4j.PatternLayout">
59 <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
60 </layout>
61 </appender>
62
63 <!-- ====================================================================== -->
64 <!-- L O G G E R S -->
65 <!-- ====================================================================== -->
66
67 <!-- CMS logging -->
68 <logger name="org.apache.jackrabbit.core">
69 <level value="warn"/>
70 </logger>
71 <logger name="org.apache.jackrabbit.extractor">
72 <level value="warn"/>
73 </logger>
74 <logger name="org.apache.jackrabbit">
75 <level value="warn"/>
76 </logger>
77 <logger name="org.hippoecm.repository">
78 <level value="warn"/>
79 </logger>
80 <logger name="org.hippoecm.frontend">
81 <level value="warn"/>
82 </logger>
83 <logger name="org.apache.wicket">
84 <level value="warn"/>
85 </logger>
86
87 <!-- Localizer leaves unnecessary warning logs. See CMS7-5419. -->
88 <logger additivity="false" name="org.apache.wicket.Localizer">
89 <level value="error"/>
90 </logger>
91
92 <!-- audit logging -->
93 <logger additivity="false" name="org.hippoecm.repository.api.Workflow">
94 <level value="info"/>
95 <appender-ref ref="audit"/>
96 </logger>
97 <logger additivity="false" name="org.onehippo.audit">
98 <level value="info"/>
99 <appender-ref ref="audit"/>
100 </logger>
101
102 <!-- Site logging -->
103 <logger additivity="false" name="org.hippoecm.hst">
104 <level value="warn"/>
105 <appender-ref ref="site"/>
106 <appender-ref ref="console"/>
107 </logger>
108
109 <!-- DiagnosticReportingValve only logs when diagnostics enabled in hst:hosts config in repo hence
110 can be here on level 'info' -->
111 <logger additivity="false" name="org.hippoecm.hst.core.container.DiagnosticReportingValve">
112 <level value="info"/>
113 <appender-ref ref="site"/>
114 <appender-ref ref="console"/>
115 </logger>
116
117 <!-- too many caching warnings -->
118 <logger name="org.apache.jackrabbit.core.state">
119 <level value="error"/>
120 </logger>
121 <logger name="org.apache.jackrabbit.core.ItemManager">
122 <level value="error"/>
123 </logger>
124 <logger name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
125 <level value="error"/>
126 </logger>
127
128 <!-- ignore DataNucleus errors -->
129 <logger name="DataNucleus.Plugin">
130 <level value="fatal"/>
131 </logger>
132 <logger name="DataNucleus.ClassLoading">
133 <level value="fatal"/>
134 </logger>
135 <logger name="DataNucleus.Enhancer">
136 <level value="fatal"/>
137 </logger>
138
139 <!-- more info wanted -->
140 <logger name="org.apache.jackrabbit.core.persistence.bundle">
141 <level value="warn"/>
142 </logger>
143 <logger name="org.hippoecm.repository.jackrabbit.persistence">
144 <level value="info"/>
145 </logger>
146 <logger name="org.hippoecm.repository.updater">
147 <level value="info"/>
148 </logger>
149 <logger name="org.onehippo.cms7.autoexport">
150 <level value="info"/>
151 </logger>
152
153 <root>
154 <level value="warn"/>
155 <appender-ref ref="cms"/>
156 <appender-ref ref="console"/>
157 </root>
158
159 </log4j:configuration>
160

Properties

Name Value
svn:eol-style native
svn:keywords Id