summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/logging.xml.i
blob: 315c959bfa46261cc33eeaf16be550a01621ee67 (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
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
<!-- include start from haproxy/logging.xml.i -->
<node name="logging">
  <properties>
    <help>Logging parameters</help>
  </properties>
  <children>
    <tagNode name="facility">
      <properties>
        <help>Facility for logging</help>
        <completionHelp>
          <list>auth cron daemon kern lpr mail news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7</list>
        </completionHelp>
        <constraint>
          <regex>(auth|cron|daemon|kern|lpr|mail|news|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7)</regex>
        </constraint>
        <constraintErrorMessage>Invalid facility type</constraintErrorMessage>
        <valueHelp>
          <format>auth</format>
          <description>Authentication and authorization</description>
        </valueHelp>
        <valueHelp>
          <format>cron</format>
          <description>Cron daemon</description>
        </valueHelp>
        <valueHelp>
          <format>daemon</format>
          <description>System daemons</description>
        </valueHelp>
        <valueHelp>
          <format>kern</format>
          <description>Kernel</description>
        </valueHelp>
        <valueHelp>
          <format>lpr</format>
          <description>Line printer spooler</description>
        </valueHelp>
        <valueHelp>
          <format>mail</format>
          <description>Mail subsystem</description>
        </valueHelp>
        <valueHelp>
          <format>news</format>
          <description>USENET subsystem</description>
        </valueHelp>
        <valueHelp>
          <format>syslog</format>
          <description>Authentication and authorization</description>
        </valueHelp>
        <valueHelp>
          <format>user</format>
          <description>Application processes</description>
        </valueHelp>
        <valueHelp>
          <format>uucp</format>
          <description>UUCP subsystem</description>
        </valueHelp>
        <valueHelp>
          <format>local0</format>
          <description>Local facility 0</description>
        </valueHelp>
        <valueHelp>
          <format>local1</format>
          <description>Local facility 1</description>
        </valueHelp>
        <valueHelp>
          <format>local2</format>
          <description>Local facility 2</description>
        </valueHelp>
        <valueHelp>
          <format>local3</format>
          <description>Local facility 3</description>
        </valueHelp>
        <valueHelp>
          <format>local4</format>
          <description>Local facility 4</description>
        </valueHelp>
        <valueHelp>
          <format>local5</format>
          <description>Local facility 5</description>
        </valueHelp>
        <valueHelp>
          <format>local6</format>
          <description>Local facility 6</description>
        </valueHelp>
        <valueHelp>
          <format>local7</format>
          <description>Local facility 7</description>
        </valueHelp>
      </properties>
      <children>
        <leafNode name="level">
          <properties>
            <help>Logging level</help>
            <completionHelp>
              <list>emerg alert crit err warning notice info debug</list>
            </completionHelp>
            <valueHelp>
              <format>emerg</format>
              <description>Emergency messages</description>
            </valueHelp>
            <valueHelp>
              <format>alert</format>
              <description>Urgent messages</description>
            </valueHelp>
            <valueHelp>
              <format>crit</format>
              <description>Critical messages</description>
            </valueHelp>
            <valueHelp>
              <format>err</format>
              <description>Error messages</description>
            </valueHelp>
            <valueHelp>
              <format>warning</format>
              <description>Warning messages</description>
            </valueHelp>
            <valueHelp>
              <format>notice</format>
              <description>Messages for further investigation</description>
            </valueHelp>
            <valueHelp>
              <format>info</format>
              <description>Informational messages</description>
            </valueHelp>
            <valueHelp>
              <format>debug</format>
              <description>Debug messages</description>
            </valueHelp>
            <constraint>
              <regex>(emerg|alert|crit|err|warning|notice|info|debug)</regex>
            </constraint>
            <constraintErrorMessage>Invalid loglevel</constraintErrorMessage>
          </properties>
          <defaultValue>err</defaultValue>
        </leafNode>
      </children>
    </tagNode>
  </children>
</node>
<!-- include end -->