View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cocoon/trunk/server/src/webapp/WEB-INF/logkit.xconf
Revision: 3842
Committed: Fri Nov 10 13:50:03 2006 UTC (13 years, 8 months ago) by aschrijvers
Content type: application/octet-stream
File size: 7965 byte(s)
Log Message:
added registry logging

File Contents

# Content
1 <?xml version="1.0"?>
2 <logkit>
3
4 <factories>
5 <factory type="priority-filter" class="org.apache.avalon.excalibur.logger.factory.PriorityFilterTargetFactory"/>
6 <factory type="servlet" class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/>
7 <factory type="cocoon" class="org.apache.cocoon.util.log.CocoonTargetFactory"/>
8 <factory type="lf5" class="org.apache.avalon.excalibur.logger.factory.LF5TargetFactory"/>
9 </factories>
10
11 <targets>
12
13 <!-- To enable the LogFactor5 graphical logkit browser, replace the cocoon factory
14 below with the following.
15 <lf5 id="core"/>
16 -->
17
18 <cocoon id="core">
19 <filename>${context-root}/WEB-INF/logs/core.log</filename>
20 <format type="cocoon">
21 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
22 </format>
23 <append>true</append>
24 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
25 <date>yyyyMMdd</date>
26 </rotation>
27 </cocoon>
28
29 <cocoon id="registry">
30 <filename>${context-root}/WEB-INF/logs/registry.log</filename>
31 <format type="cocoon">
32 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
33 </format>
34 <append>true</append>
35 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
36 <date>yyyyMMdd</date>
37 </rotation>
38 </cocoon>
39
40 <cocoon id="cocoon-protocol">
41 <filename>${context-root}/WEB-INF/logs/cocoon-protocol.log</filename>
42 <format type="cocoon">
43 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
44 </format>
45 <append>true</append>
46 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
47 <date>yyyyMMdd</date>
48 </rotation>
49 </cocoon>
50
51 <cocoon id="sitemap">
52 <filename>${context-root}/WEB-INF/logs/sitemap.log</filename>
53 <format type="cocoon">
54 %23.23{time:yyyyMMddHHmmssSSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
55 </format>
56 <append>true</append>
57 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
58 <date>yyyyMMdd</date>
59 </rotation>
60 </cocoon>
61
62 <cocoon id="handled-errors">
63 <filename>${context-root}/WEB-INF/logs/handled-errors.log</filename>
64 <format type="cocoon">
65 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
66 </format>
67 <append>true</append>
68 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
69 <date>yyyyMMdd</date>
70 </rotation>
71 </cocoon>
72
73 <cocoon id="access">
74 <filename>${context-root}/WEB-INF/logs/access.log</filename>
75 <format type="cocoon">
76 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
77 </format>
78 <append>true</append>
79 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
80 <date>yyyyMMdd</date>
81 </rotation>
82 </cocoon>
83
84 <!-- The logger for the flow layer -->
85 <cocoon id="flow">
86 <filename>${context-root}/WEB-INF/logs/flow.log</filename>
87 <format type="cocoon">
88 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
89 </format>
90 <append>true</append>
91 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
92 <date>yyyyMMdd</date>
93 </rotation>
94 </cocoon>
95
96 <!--
97 This log file gets only messages with log level ERROR and below.
98 -->
99 <priority-filter id="error" log-level="ERROR">
100 <cocoon>
101 <filename>${context-root}/WEB-INF/logs/error.log</filename>
102 <format type="cocoon">
103 %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
104 </format>
105 <append>true</append>
106 <rotation type="unique" pattern=".yyyy_MM_dd" suffix=".log">
107 <date>yyyyMMdd</date>
108 </rotation>
109 </cocoon>
110 </priority-filter>
111 </targets>
112
113 <categories>
114 <!--
115 log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR.
116 Log level could be different for every category and subcategory.
117
118 Not all subcategories are defined in this file. Not defined
119 subcategories will be created automatically inheriting settings
120 of the parent subcategory.
121 When defining subcategory manually, it is required to specify log
122 targets, because they are not inherited in this case.
123 -->
124 <category name="core" log-level="WARN">
125 <!-- Startup component manager logger -->
126 <category name="startup" log-level="WARN">
127 <log-target id-ref="core"/>
128 <log-target id-ref="error"/>
129 </category>
130
131 <category name="roles" log-level="WARN">
132 <log-target id-ref="core"/>
133 <log-target id-ref="error"/>
134 </category>
135
136 <category name="instrument" log-level="WARN">
137 <category name="values" log-level="WARN">
138 <log-target id-ref="core"/>
139 <log-target id-ref="error"/>
140 </category>
141 <log-target id-ref="core"/>
142 <log-target id-ref="error"/>
143 </category>
144
145 <!-- Cocoon component manager logger -->
146 <category name="manager" log-level="WARN">
147 <log-target id-ref="core"/>
148 <log-target id-ref="error"/>
149 </category>
150
151 <!-- logging the cocoon:// protocol pipelines -->
152 <category name="source" log-level="WARN">
153 <category name="cocoon" log-level="WARN">
154 <log-target id-ref="cocoon-protocol"/>
155 </category>
156 </category>
157
158 <!-- Cocoon cache and stores logger -->
159 <category name="store" log-level="WARN">
160 <category name="janitor" log-level="WARN">
161 <log-target id-ref="core"/>
162 <log-target id-ref="error"/>
163 </category>
164 <log-target id-ref="core"/>
165 <log-target id-ref="error"/>
166 </category>
167
168 <category name="eventcache" log-level="WARN">
169 <log-target id-ref="core"/>
170 <category name="registry" log-level="INFO">
171 <log-target id-ref="registry"/>
172 </category>
173 </category>
174
175 <category name="jms" log-level="INFO">
176 <log-target id-ref="core"/>
177 </category>
178
179 <log-target id-ref="core"/>
180 <log-target id-ref="error"/>
181 </category>
182
183 <category name="sitemap" log-level="WARN">
184 <log-target id-ref="sitemap"/>
185 <log-target id-ref="error"/>
186
187 <category name="handled-errors" log-level="WARN">
188 <!-- Exceptions that will be handled by a sitemap errorhandler are
189 logged to this target. -->
190 <log-target id-ref="handled-errors"/>
191 </category>
192
193 <category name="pipes" log-level="WARN">
194 <category name="ecaching" log-level="WARN">
195 <log-target id-ref="sitemap"/>
196 </category>
197 <log-target id-ref="sitemap"/>
198 </category>
199
200 </category>
201
202 <category name="access" log-level="WARN">
203 <log-target id-ref="access"/>
204 <log-target id-ref="error"/>
205 </category>
206
207 <category name="flow" log-level="WARN">
208 <log-target id-ref="flow"/>
209 <log-target id-ref="error"/>
210 </category>
211
212 <category name="" log-level="WARN">
213 <log-target id-ref="core"/>
214 <log-target id-ref="error"/>
215 </category>
216 </categories>
217 </logkit>

Properties

Name Value
svn:mime-type application/octet-stream