View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/experimental/hippo-jcr-console/trunk/conf/log4j.xml
Revision: 29582
Committed: Mon Aug 15 17:56:11 2011 UTC (10 years, 9 months ago) by wko
Content type: text/plain
Original Path: experimental/hippo-jcr-console/trunk/hippo-repo-console/conf/log4j.xml
File size: 5207 byte(s)
Log Message:
JCR-24: adding war subproject with cargo plugin configuration

File Contents

# User Rev Content
1 wko 29582 <?xml version="1.0" encoding="UTF-8" ?>
2     <!--
3    
4     Copyright (C) 2011 Hippo B.V.
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     -->
19    
20     <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
21     <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
22    
23     <!-- ====================================================================== -->
24     <!-- A P P E N D E R S -->
25     <!-- ====================================================================== -->
26    
27     <!-- hippo-cms.log -->
28     <appender name="cms" class="org.apache.log4j.DailyRollingFileAppender">
29     <param name="File" value="${catalina.base}/logs/hippo-cms.log"/>
30     <param name="Append" value="true"/>
31     <layout class="org.apache.log4j.PatternLayout">
32     <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
33     </layout>
34     </appender>
35    
36     <!-- hippo-site.log -->
37     <appender name="site" class="org.apache.log4j.DailyRollingFileAppender">
38     <param name="File" value="${catalina.base}/logs/hippo-site.log"/>
39     <param name="Append" value="true"/>
40     <layout class="org.apache.log4j.PatternLayout">
41     <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
42     </layout>
43     </appender>
44    
45     <!-- hippo-audit.log -->
46     <appender name="audit" class="org.apache.log4j.DailyRollingFileAppender">
47     <param name="File" value="${catalina.base}/logs/hippo-audit.log"/>
48     <param name="Append" value="true"/>
49     <param name="DatePattern" value="'.'yyyy-MM-dd"/>
50     <layout class="org.apache.log4j.PatternLayout">
51     <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
52     </layout>
53     </appender>
54    
55     <!-- console -->
56     <appender name="console" class="org.apache.log4j.ConsoleAppender">
57     <param name="Target" value="System.out"/>
58     <layout class="org.apache.log4j.PatternLayout">
59     <param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} %-5p [%C.%M():%L] %m%n"/>
60     </layout>
61     </appender>
62    
63     <!-- ====================================================================== -->
64     <!-- L O G G E R S -->
65     <!-- ====================================================================== -->
66    
67     <!-- CMS logging -->
68     <category name="org.apache.jackrabbit.core">
69     <level value="warn"/>
70     </category>
71     <category name="org.apache.jackrabbit.extractor">
72     <level value="warn"/>
73     </category>
74     <category name="org.apache.jackrabbit">
75     <level value="warn"/>
76     </category>
77     <category name="org.hippoecm.repository">
78     <level value="warn"/>
79     </category>
80     <category name="org.hippoecm.frontend">
81     <level value="warn"/>
82     </category>
83     <category name="org.apache.wicket">
84     <level value="warn"/>
85     </category>
86    
87     <!-- audit logging -->
88     <category additivity="false" name="org.hippoecm.repository.api.Workflow">
89     <level value="info"/>
90     <appender-ref ref="audit"/>
91     </category>
92    
93     <!-- Site logging -->
94     <category additivity="false" name="org.hippoecm.hst">
95     <level value="warn"/>
96     <appender-ref ref="site"/>
97     <appender-ref ref="console"/>
98     </category>
99    
100     <!-- too many caching warnings -->
101     <category name="org.apache.jackrabbit.core.state">
102     <level value="error"/>
103     </category>
104     <category name="org.apache.jackrabbit.core.ItemManager">
105     <level value="error"/>
106     </category>
107     <category name="org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache">
108     <level value="error"/>
109     </category>
110    
111     <!-- ignore wicket localizer warnings -->
112     <category name="org.apache.wicket.Localizer">
113     <level value="error"/>
114     </category>
115    
116     <!-- ignore DataNucleus errors -->
117     <category name="DataNucleus.Plugin">
118     <level value="fatal"/>
119     </category>
120     <category name="DataNucleus.ClassLoading">
121     <level value="fatal"/>
122     </category>
123     <category name="DataNucleus.Enhancer">
124     <level value="fatal"/>
125     </category>
126    
127     <!-- more info wanted -->
128     <category name="org.apache.jackrabbit.core.persistence.bundle">
129     <level value="info"/>
130     </category>
131     <category name="org.hippoecm.repository.jackrabbit.persistence">
132     <level value="info"/>
133     </category>
134     <category name="org.hippoecm.repository.updater">
135     <level value="info"/>
136     </category>
137     <category name="org.hippoecm.repository.export">
138     <level value="info"/>
139     </category>
140    
141     <category additivity="false" name="org.onehippo.forge.workflow.events.camel">
142     <level value="info"/>
143     <appender-ref ref="cms"/>
144     <appender-ref ref="console"/>
145     </category>
146    
147     <root>
148     <level value="warn"/>
149     <appender-ref ref="cms"/>
150     <appender-ref ref="console"/>
151     </root>
152    
153     </log4j:configuration>
154    

Properties

Name Value
svn:mime-type text/plain