View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/restyling/trunk/conf/log4j-dev.xml
Revision: 48447
Committed: Thu Jan 29 08:41:31 2015 UTC (7 years, 4 months ago) by mdenburger
Content type: text/xml
File size: 6558 byte(s)
Log Message:
CMS7-8371: merge changes from archetypes trunk, including the rename of web resources to web files

File Contents

# User Rev Content
1 mdenburger 46769 <?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 mdenburger 47418 <!-- warnings -->
66     <appender name="warnings" class="org.apache.log4j.ConsoleAppender">
67     <param name="Target" value="System.err"/>
68     <layout class="org.apache.log4j.PatternLayout">
69     <param name="ConversionPattern" value="%d{HH:mm:ss} %p %m%n"/>
70     </layout>
71     </appender>
72    
73 mdenburger 46769 <!-- ====================================================================== -->
74     <!-- L O G G E R S -->
75     <!-- ====================================================================== -->
76    
77     <!-- CMS logging -->
78     <logger name="org.apache.jackrabbit.core">
79     <level value="warn"/>
80     </logger>
81     <logger name="org.apache.jackrabbit.extractor">
82     <level value="warn"/>
83     </logger>
84     <logger name="org.apache.jackrabbit">
85     <level value="warn"/>
86     </logger>
87     <logger name="org.hippoecm.repository">
88     <level value="warn"/>
89     </logger>
90     <logger name="org.hippoecm.frontend">
91     <level value="warn"/>
92     </logger>
93     <logger name="org.apache.wicket">
94     <level value="warn"/>
95     </logger>
96    
97     <!-- audit logging -->
98     <logger additivity="false" name="org.hippoecm.repository.api.Workflow">
99     <level value="info"/>
100     <appender-ref ref="audit"/>
101     </logger>
102     <logger additivity="false" name="org.onehippo.audit">
103     <level value="info"/>
104     <appender-ref ref="audit"/>
105     </logger>
106    
107     <!-- Site logging -->
108     <logger name="org.hippoecm.hst">
109     <level value="warn"/>
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 name="org.hippoecm.hst.core.container.DiagnosticReportingValve">
115     <level value="info"/>
116     </logger>
117    
118     <logger name="freemarker">
119     <level value="warn"/>
120     </logger>
121    
122     <logger name="org.apache.cxf">
123     <level value="warn"/>
124     </logger>
125    
126     <logger name="javax.ws.rs.core">
127     <level value="warn"/>
128     </logger>
129    
130     <logger name="org.apache.commons.pool">
131     <level value="warn"/>
132     </logger>
133    
134     <logger name="org.apache.commons.beanutils">
135     <level value="warn"/>
136     </logger>
137    
138     <!-- too many caching warnings -->
139     <logger name="org.apache.jackrabbit.core.state">
140     <level value="error"/>
141     </logger>
142     <logger name="org.apache.jackrabbit.core.ItemManager">
143     <level value="error"/>
144     </logger>
145     <logger name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
146     <level value="error"/>
147     </logger>
148    
149     <!-- ignore wicket localizer warnings -->
150     <logger name="org.apache.wicket.Localizer">
151     <level value="error"/>
152     </logger>
153    
154     <!-- more info wanted -->
155     <logger name="org.apache.jackrabbit.core.persistence.bundle">
156     <level value="warn"/>
157     </logger>
158     <logger name="org.hippoecm.repository.jackrabbit.persistence">
159     <level value="info"/>
160     </logger>
161     <logger name="org.hippoecm.repository.updater" additivity="false">
162     <level value="info"/>
163     <appender-ref ref="messages"/>
164     </logger>
165     <logger name="org.onehippo.cms7.autoexport" additivity="false">
166     <level value="info"/>
167     <appender-ref ref="messages"/>
168     </logger>
169 mdenburger 48447 <logger name="org.onehippo.cms7.services.webfiles.watch.WebFilesWatcher" additivity="false">
170 mdenburger 46769 <level value="info"/>
171     <appender-ref ref="messages"/>
172     </logger>
173     <logger name="org.onehippo.cms7.services.autoreload.AutoReloadServiceModule" additivity="false">
174     <level value="info"/>
175     <appender-ref ref="messages"/>
176     </logger>
177    
178 mdenburger 47418 <!-- Freemarker errors -->
179     <logger name="org.hippoecm.hst.servlet.HstFreemarkerServlet" additivity="false">
180     <level value="warn"/>
181     <appender-ref ref="warnings"/>
182     </logger>
183    
184 mdenburger 46769 <root>
185     <level value="warn"/>
186     <appender-ref ref="site"/>
187     <appender-ref ref="cms"/>
188     <appender-ref ref="console"/>
189     </root>
190    
191     </log4j:configuration>
192    

Properties

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