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-dev.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: 5969 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 </appender>
71
72 <!-- ====================================================================== -->
73 <!-- L O G G E R S -->
74 <!-- ====================================================================== -->
75
76 <!-- CMS logging -->
77 <logger name="org.apache.jackrabbit.core">
78 <level value="warn"/>
79 </logger>
80 <logger name="org.apache.jackrabbit.extractor">
81 <level value="warn"/>
82 </logger>
83 <logger name="org.apache.jackrabbit">
84 <level value="warn"/>
85 </logger>
86 <logger name="org.hippoecm.repository">
87 <level value="warn"/>
88 </logger>
89 <logger name="org.hippoecm.frontend">
90 <level value="warn"/>
91 </logger>
92 <logger name="org.apache.wicket">
93 <level value="warn"/>
94 </logger>
95
96 <!-- audit logging -->
97 <logger additivity="false" name="org.hippoecm.repository.api.Workflow">
98 <level value="info"/>
99 <appender-ref ref="audit"/>
100 </logger>
101 <logger additivity="false" name="org.onehippo.audit">
102 <level value="info"/>
103 <appender-ref ref="audit"/>
104 </logger>
105
106 <!-- Site logging -->
107 <logger name="org.hippoecm.hst">
108 <level value="warn"/>
109 </logger>
110
111 <!-- DiagnosticReportingValve only logs when diagnostics enabled in hst:hosts config in repo hence
112 can be here on level 'info' -->
113 <logger name="org.hippoecm.hst.core.container.DiagnosticReportingValve">
114 <level value="info"/>
115 </logger>
116
117 <logger name="freemarker">
118 <level value="warn"/>
119 </logger>
120
121 <logger name="org.apache.cxf">
122 <level value="warn"/>
123 </logger>
124
125 <logger name="javax.ws.rs.core">
126 <level value="warn"/>
127 </logger>
128
129 <logger name="org.apache.commons.pool">
130 <level value="warn"/>
131 </logger>
132
133 <logger name="org.apache.commons.beanutils">
134 <level value="warn"/>
135 </logger>
136
137 <!-- too many caching warnings -->
138 <logger name="org.apache.jackrabbit.core.state">
139 <level value="error"/>
140 </logger>
141 <logger name="org.apache.jackrabbit.core.ItemManager">
142 <level value="error"/>
143 </logger>
144 <logger name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
145 <level value="error"/>
146 </logger>
147
148 <!-- ignore wicket localizer warnings -->
149 <logger name="org.apache.wicket.Localizer">
150 <level value="error"/>
151 </logger>
152
153 <!-- more info wanted -->
154 <logger name="org.apache.jackrabbit.core.persistence.bundle">
155 <level value="warn"/>
156 </logger>
157 <logger name="org.hippoecm.repository.jackrabbit.persistence">
158 <level value="info"/>
159 </logger>
160 <logger name="org.hippoecm.repository.updater">
161 <level value="info"/>
162 </logger>
163 <logger name="org.onehippo.cms7.autoexport">
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