blob: 8ba9806f33b8a36eb21002a73f59c7f0ff371b5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This adds some functionality onto the log4j.dtd -->
<!-- Authors: Kevin Goess -->
<!-- Version: 1.0 -->
<!-- include the log4j dtd -->
<!ENTITY % log4j.dtd SYSTEM "log4j-1.2.dtd">
%log4j.dtd;
<!-- overriding log4j:configuration with log4perl:configuration
so that we can use a log4perl:appender -->
<!ELEMENT log4perl:configuration (renderer*, log4perl:appender*, appender*,
(log4perl:filter)*,(category|logger)*,root?, PatternLayout?)>
<!ATTLIST log4perl:configuration
xmlns:log4perl CDATA #FIXED "http://log4perl.sourceforge.net/"
threshold (all|debug|info|warn|error|fatal|off|null) "null"
debug (true|false|null) "null"
oneMessagePerAppender (true|false|null) "null"
>
<!-- overriding log4j's appender with log4perl:appender so can include
other kinds of param structures -->
<!ELEMENT log4perl:appender (errorHandler?, (param|param-nested|param-text)*,
(layout|log4perl:layout)?, filter*, filter-ref*, appender-ref*)>
<!ATTLIST log4perl:appender
xmlns:log4perl CDATA #FIXED "http://log4perl.sourceforge.net/"
name ID #REQUIRED
class CDATA #REQUIRED
>
<!-- a complex param type -->
<!ELEMENT param-nested ((param|param-nested|param-text)+)>
<!ATTLIST param-nested
name CDATA #REQUIRED
>
<!-- so you can put the value in the text instead of always having to
put it in the attribute -->
<!ELEMENT param-text (#PCDATA)>
<!ATTLIST param-text
name CDATA #REQUIRED
>
<!-- a top-level PatternLayout to handle global cspecs -->
<!ELEMENT PatternLayout (cspec+)>
<!-- custom conversion specifiers -->
<!ELEMENT cspec (#PCDATA)>
<!ATTLIST cspec
name CDATA #REQUIRED
>
<!ELEMENT log4perl:layout ((param|cspec)*)>
<!ATTLIST log4perl:layout
class CDATA #REQUIRED
>
<!-- This is the filter at the document root, as opposed to the appender
children filters. This implement the log4perl-specific boolean appenders
-->
<!ELEMENT log4perl:filter (#PCDATA|param|param-nested|param-text)*>
<!ATTLIST log4perl:filter
class CDATA #IMPLIED
name CDATA #IMPLIED
value CDATA #IMPLIED
>
<!ELEMENT filter-ref EMPTY>
<!ATTLIST filter-ref id NMTOKEN #REQUIRED>
|