View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/branches/hippogogreen-restyling-3.10.xx/conf/log4j-prod.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: 5510 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 <filter class="org.apache.log4j.varia.LevelRangeFilter">
62 <param name="levelMin" value="ERROR" />
63 </filter>
64 </appender>
65
66 <!-- ====================================================================== -->
67 <!-- L O G G E R S -->
68 <!-- ====================================================================== -->
69
70 <!-- CMS logging -->
71 <logger name="org.apache.jackrabbit.core">
72 <level value="warn"/>
73 </logger>
74 <logger name="org.apache.jackrabbit.extractor">
75 <level value="warn"/>
76 </logger>
77 <logger name="org.apache.jackrabbit">
78 <level value="warn"/>
79 </logger>
80 <logger name="org.hippoecm.repository">
81 <level value="warn"/>
82 </logger>
83 <logger name="org.hippoecm.frontend">
84 <level value="warn"/>
85 </logger>
86 <logger name="org.apache.wicket">
87 <level value="warn"/>
88 </logger>
89
90 <!-- Localizer leaves unnecessary warning logs. See CMS7-5419. -->
91 <logger additivity="false" name="org.apache.wicket.Localizer">
92 <level value="error"/>
93 </logger>
94
95 <!-- audit logging -->
96 <logger additivity="false" name="org.hippoecm.repository.api.Workflow">
97 <level value="info"/>
98 <appender-ref ref="audit"/>
99 </logger>
100 <logger additivity="false" name="org.onehippo.audit">
101 <level value="info"/>
102 <appender-ref ref="audit"/>
103 </logger>
104
105 <!-- Site logging -->
106 <logger additivity="false" name="org.hippoecm.hst">
107 <level value="warn"/>
108 <appender-ref ref="site"/>
109 <appender-ref ref="console"/>
110 </logger>
111
112 <!-- DiagnosticReportingValve only logs when diagnostics enabled in hst:hosts config in repo hence
113 can be here on level 'info' -->
114 <logger additivity="false" name="org.hippoecm.hst.core.container.DiagnosticReportingValve">
115 <level value="info"/>
116 <appender-ref ref="site"/>
117 <appender-ref ref="console"/>
118 </logger>
119
120 <!-- too many caching warnings -->
121 <logger name="org.apache.jackrabbit.core.state">
122 <level value="error"/>
123 </logger>
124 <logger name="org.apache.jackrabbit.core.ItemManager">
125 <level value="error"/>
126 </logger>
127 <logger name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
128 <level value="error"/>
129 </logger>
130
131 <!-- ignore DataNucleus errors -->
132 <logger name="DataNucleus.Plugin">
133 <level value="fatal"/>
134 </logger>
135 <logger name="DataNucleus.ClassLoading">
136 <level value="fatal"/>
137 </logger>
138 <logger name="DataNucleus.Enhancer">
139 <level value="fatal"/>
140 </logger>
141
142 <!-- more info wanted -->
143 <logger name="org.apache.jackrabbit.core.persistence.bundle">
144 <level value="info"/>
145 </logger>
146 <logger name="org.hippoecm.repository.jackrabbit.persistence">
147 <level value="info"/>
148 </logger>
149 <logger name="org.hippoecm.repository.updater">
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