forked from sanity/quickml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logback.xsd
169 lines (152 loc) · 6.85 KB
/
logback.xsd
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:element name="configuration" type="Configuration"/>
<xsd:element name="included" type="Configuration"/>
<xsd:complexType name="Configuration">
<xsd:sequence>
<xsd:element name="statusListener" minOccurs="0" maxOccurs="unbounded" type="StatusListener"/>
<xsd:element name="contextListener" minOccurs="0" maxOccurs="unbounded" type="ContextListener"/>
<xsd:element name="include" minOccurs="0" maxOccurs="unbounded" type="Include"/>
<xsd:element name="contextName" minOccurs="0" maxOccurs="1" type="xsd:string"/>
<xsd:element name="define" minOccurs="0" maxOccurs="unbounded" type="Define"/>
<xsd:element name="timestamp" minOccurs="0" maxOccurs="1" type="Timestamp"/>
<xsd:element name="if" minOccurs="0" maxOccurs="unbounded" type="If"/>
<xsd:element name="property" minOccurs="0" maxOccurs="unbounded" type="Property"/>
<xsd:element name="appender" minOccurs="0" maxOccurs="unbounded" type="Appender"/>
<xsd:element name="logger" minOccurs="0" maxOccurs="unbounded" type="Logger"/>
<xsd:element name="root" minOccurs="0" maxOccurs="1" type="Root"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="scan" type="xsd:string" use="optional"/>
<xsd:attribute name="scanPeriod" type="xsd:string" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="StatusListener">
<xsd:attribute name="class" type="xsd:string" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="ContextListener">
<xsd:sequence>
<xsd:element name="resetJUL" type="xsd:boolean"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="class" type="xsd:string"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Include">
<xsd:attribute name="file" use="optional" type="xsd:string"/>
<xsd:attribute name="resource" use="optional" type="xsd:string"/>
<xsd:attribute name="url" use="optional" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="Define">
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Timestamp">
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="key" type="xsd:string" use="optional"/>
<xsd:attribute name="datePattern" type="xsd:string" use="optional"/>
<xsd:attribute name="timeReference" type="xsd:string" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="RollingPolicy">
<xsd:sequence>
<xsd:element name="fileNamePattern" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="maxHistory" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="minIndex" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="maxIndex" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="timeBasedFileNamingAndTriggeringPolicy" type="TriggeringPolicy" minOccurs="0" maxOccurs="1"/>
<xsd:element name="cleanHistoryOnStart" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="class" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="TriggeringPolicy">
<xsd:sequence>
<xsd:element name="maxFileSize" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="class" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="If">
<xsd:sequence>
<xsd:element type="Configuration" name="then"/>
<xsd:element type="Configuration" name="else"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="condition" type="xsd:string"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Property">
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="optional"/>
<xsd:attribute name="value" type="xsd:string" use="optional"/>
<xsd:attribute name="file" type="xsd:string" use="optional"/>
<xsd:attribute name="resource" type="xsd:string" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Appender">
<xsd:sequence>
<xsd:element name="file" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="encoder" type="Encoder" minOccurs="0" maxOccurs="1"/>
<xsd:element name="filter" type="Filter" minOccurs="0" maxOccurs="1"/>
<xsd:element name="append" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="prudent" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="layout" type="Layout" minOccurs="0" maxOccurs="1"/>
<xsd:element name="rollingPolicy" type="RollingPolicy" minOccurs="0" maxOccurs="1"/>
<xsd:any processContents="skip" maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="class" type="xsd:string" use="required"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Filter">
<xsd:sequence>
<xsd:element name="level" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="class" type="xsd:string" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Layout">
<xsd:sequence>
<xsd:element name="pattern" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="class" type="xsd:string" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Logger">
<xsd:sequence>
<xsd:element name="appender-ref" maxOccurs="unbounded" minOccurs="0" type="AppenderRef"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="level" type="LoggerLevels" use="optional"/>
<xsd:attribute name="additivity" type="xsd:boolean" use="optional"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="Encoder">
<xsd:sequence>
<xsd:element name="pattern" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Root">
<xsd:sequence>
<xsd:element name="appender-ref" maxOccurs="unbounded" minOccurs="0" type="AppenderRef"/>
</xsd:sequence>
<xsd:attribute name="level" use="required" type="LoggerLevels"/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType name="AppenderRef">
<xsd:attribute name="ref" type="xsd:string"/>
</xsd:complexType>
<xsd:simpleType name="LoggerLevels">
<xsd:restriction base="xsd:string">
<xsd:pattern value="off|OFF|all|ALL|inherited|INHERITED|null|NULL|error|ERROR|warn|WARN|info|INFO|debug|DEBUG|trace|TRACE"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>