diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-04 10:35:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-04 10:35:01 +0200 |
commit | 8672c5f7ee2b760d52b6f2cd6427dda44d7188b5 (patch) | |
tree | 798e5a7789d09ab646145943ba4878e41337216d /interface-definitions | |
parent | c0bb68e763c28d4f7ac9fd87d86c38a62c6fc730 (diff) | |
parent | dd5908eac390294ea178953fc0e6821d803d62f6 (diff) | |
download | vyos-1x-8672c5f7ee2b760d52b6f2cd6427dda44d7188b5.tar.gz vyos-1x-8672c5f7ee2b760d52b6f2cd6427dda44d7188b5.zip |
Merge pull request #3753 from jvoss/haproxy_logging
T6539: add logging options to load-balancer reverse-proxy
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/haproxy/logging.xml.i | 10 | ||||
-rw-r--r-- | interface-definitions/load-balancing_reverse-proxy.xml.in | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/haproxy/logging.xml.i b/interface-definitions/include/haproxy/logging.xml.i new file mode 100644 index 000000000..e0af54fa4 --- /dev/null +++ b/interface-definitions/include/haproxy/logging.xml.i @@ -0,0 +1,10 @@ +<!-- include start from haproxy/logging.xml.i --> +<node name="logging"> + <properties> + <help>Logging parameters</help> + </properties> + <children> + #include <include/syslog-facility.xml.i> + </children> +</node> +<!-- include end --> diff --git a/interface-definitions/load-balancing_reverse-proxy.xml.in b/interface-definitions/load-balancing_reverse-proxy.xml.in index 1a432be6d..18274622c 100644 --- a/interface-definitions/load-balancing_reverse-proxy.xml.in +++ b/interface-definitions/load-balancing_reverse-proxy.xml.in @@ -36,6 +36,7 @@ </leafNode> #include <include/generic-description.xml.i> #include <include/listen-address.xml.i> + #include <include/haproxy/logging.xml.i> #include <include/haproxy/mode.xml.i> #include <include/port-number.xml.i> #include <include/haproxy/rule-frontend.xml.i> @@ -91,6 +92,7 @@ <defaultValue>round-robin</defaultValue> </leafNode> #include <include/generic-description.xml.i> + #include <include/haproxy/logging.xml.i> #include <include/haproxy/mode.xml.i> #include <include/haproxy/http-response-headers.xml.i> <node name="http-check"> @@ -254,6 +256,7 @@ <help>Global perfomance parameters and limits</help> </properties> <children> + #include <include/haproxy/logging.xml.i> <leafNode name="max-connections"> <properties> <help>Maximum allowed connections</help> |