View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/experimental/hippo-jcr-console/trunk/jcr-repo-console/conf/log4j.dtd
Revision: 29590
Committed: Mon Aug 15 21:57:18 2011 UTC (11 years ago) by wko
Content type: text/plain
File size: 5002 byte(s)
Log Message:
JCR-25: cloning all Hippo Console modules as sibling JCR Console modules

File Contents

# User Rev Content
1 wko 29582 <?xml version="1.0" encoding="UTF-8" ?>
2    
3     <!-- Authors: Chris Taylor, Ceki Gulcu. -->
4    
5     <!-- Version: 1.2 -->
6    
7     <!-- A configuration element consists of optional renderer
8     elements,appender elements, categories and an optional root
9     element. -->
10    
11     <!ELEMENT log4j:configuration (renderer*, appender*, logger*, root?)>
12    
13     <!-- The "threshold" attribute takes a level value such that all -->
14     <!-- logging statements with a level equal or below this value are -->
15     <!-- disabled. -->
16    
17     <!-- Setting the "debug" enable the printing of internal log4j logging -->
18     <!-- statements. -->
19    
20     <!-- By default, debug attribute is "null", meaning that we not do touch -->
21     <!-- internal log4j logging settings. The "null" value for the threshold -->
22     <!-- attribute can be misleading. The threshold field of a repository -->
23     <!-- cannot be set to null. The "null" value for the threshold attribute -->
24     <!-- simply means don't touch the threshold field, the threshold field -->
25     <!-- keeps its old value. -->
26    
27     <!ATTLIST log4j:configuration
28     xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
29     threshold (all|debug|info|warn|error|fatal|off|null) "null"
30     debug (true|false|null) "null"
31     >
32    
33     <!-- renderer elements allow the user to customize the conversion of -->
34     <!-- message objects to String. -->
35    
36     <!ELEMENT renderer EMPTY>
37     <!ATTLIST renderer
38     renderedClass CDATA #REQUIRED
39     renderingClass CDATA #REQUIRED
40     >
41    
42     <!-- Appenders must have a name and a class. -->
43     <!-- Appenders may contain an error handler, a layout, optional parameters -->
44     <!-- and filters. They may also reference (or include) other appenders. -->
45     <!ELEMENT appender (errorHandler?, param*, layout?, filter*, appender-ref*)>
46     <!ATTLIST appender
47     name ID #REQUIRED
48     class CDATA #REQUIRED
49     >
50    
51     <!ELEMENT layout (param*)>
52     <!ATTLIST layout
53     class CDATA #REQUIRED
54     >
55    
56     <!ELEMENT filter (param*)>
57     <!ATTLIST filter
58     class CDATA #REQUIRED
59     >
60    
61     <!-- ErrorHandlers can be of any class. They can admit any number of -->
62     <!-- parameters. -->
63    
64     <!ELEMENT errorHandler (param*, root-ref?, logger-ref*, appender-ref?)>
65     <!ATTLIST errorHandler
66     class CDATA #REQUIRED
67     >
68    
69     <!ELEMENT root-ref EMPTY>
70    
71     <!ELEMENT logger-ref EMPTY>
72     <!ATTLIST logger-ref
73     ref IDREF #REQUIRED
74     >
75    
76     <!ELEMENT param EMPTY>
77     <!ATTLIST param
78     name CDATA #REQUIRED
79     value CDATA #REQUIRED
80     >
81    
82    
83     <!-- The priority class is org.apache.log4j.Level by default -->
84     <!--
85     DEPRECATED
86    
87     <!ELEMENT priority (param*)>
88     <!ATTLIST priority
89     class CDATA #IMPLIED
90     value CDATA #REQUIRED
91     >
92     -->
93    
94     <!-- The level class is org.apache.log4j.Level by default -->
95     <!ELEMENT level (param*)>
96     <!ATTLIST level
97     class CDATA #IMPLIED
98     value CDATA #REQUIRED
99     >
100    
101    
102     <!-- If no level element is specified, then the configurator MUST not -->
103     <!-- touch the level of the named category. -->
104     <!--
105     DEPRECATED
106    
107     <!ELEMENT category (param*,(priority|level)?,appender-ref*)>
108     <!ATTLIST category
109     class CDATA #IMPLIED
110     name CDATA #REQUIRED
111     additivity (true|false) "true"
112     >
113     -->
114    
115     <!-- If no level element is specified, then the configurator MUST not -->
116     <!-- touch the level of the named logger. -->
117     <!ELEMENT logger (level?, appender-ref*)>
118     <!ATTLIST logger
119     class CDATA #IMPLIED
120     name ID #REQUIRED
121     additivity (true|false) "true"
122     >
123    
124     <!--
125     DEPRECATED
126    
127     <!ELEMENT categoryFactory (param*)>
128     <!ATTLIST categoryFactory
129     class CDATA #REQUIRED>
130     -->
131    
132     <!ELEMENT appender-ref EMPTY>
133     <!ATTLIST appender-ref
134     ref IDREF #REQUIRED
135     >
136    
137     <!-- If no priority element is specified, then the configurator MUST not -->
138     <!-- touch the priority of root. -->
139     <!-- The root category always exists and cannot be subclassed. -->
140     <!ELEMENT root (param*, level?, appender-ref*)>
141    
142    
143     <!-- ==================================================================== -->
144     <!-- A logging event -->
145     <!-- ==================================================================== -->
146     <!ELEMENT log4j:eventSet (log4j:event*)>
147     <!ATTLIST log4j:eventSet
148     xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
149     version (1.1|1.2) "1.2"
150     includesLocationInfo (true|false) "true"
151     >
152    
153    
154    
155     <!ELEMENT log4j:event (log4j:message, log4j:NDC?, log4j:throwable?,
156     log4j:locationInfo?) >
157    
158     <!-- The timestamp format is application dependent. -->
159     <!ATTLIST log4j:event
160     logger CDATA #REQUIRED
161     level CDATA #REQUIRED
162     thread CDATA #REQUIRED
163     timestamp CDATA #REQUIRED
164     >
165    
166     <!ELEMENT log4j:message (#PCDATA)>
167     <!ELEMENT log4j:NDC (#PCDATA)>
168    
169     <!ELEMENT log4j:throwable (#PCDATA)>
170    
171     <!ELEMENT log4j:locationInfo EMPTY>
172     <!ATTLIST log4j:locationInfo
173     class CDATA #REQUIRED
174     method CDATA #REQUIRED
175     file CDATA #REQUIRED
176     line CDATA #REQUIRED
177     >

Properties

Name Value
svn:mime-type text/plain