View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/restyling/trunk/conf/log4j-dev.xml
Revision: 46769
Committed: Wed Oct 15 14:50:55 2014 UTC (7 years, 8 months ago) by mdenburger
Content type: text/xml
File size: 6094 byte(s)
Log Message:
CMS7-8371: initial commit of restyling demo using archetype revision 46742 (try #2)

File Contents

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

Properties

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