View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/plugins/dashboard-document-wizard/demo/trunk/conf/log4j-dev.xml
Revision: 47561
Committed: Mon Dec 15 22:41:17 2014 UTC (7 years, 1 month ago) by adouma
Content type: text/plain
File size: 5355 byte(s)
Log Message:
HIPPLUG-970: initial import of the dashboard-document-wizard standard plugin for CMS 7.10, cloned (unmodified) from the Forge dashboard-document-wizard plugin

File Contents

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