View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/plugins/dashboard-document-wizard/branches/dashboard-document-wizard-demo-2.2.x/conf/log4j-prod.xml
Revision: 58591
Committed: Mon Feb 8 13:08:24 2016 UTC (4 years, 5 months ago) by boudekerk
Content type: text/plain
File size: 5967 byte(s)
Log Message:
HIPPLUG-1250: Recreate branch

File Contents

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

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain