diff --git a/doc/configuration.txt b/doc/configuration.txt index 075d3d5c8..af3c63415 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -2749,11 +2749,12 @@ haproxy will forward all received log messages to a log servers list. log-forward Creates a new log forwarder proxy identified as . -bind [param*] - Used to configure a log udp listener to receive messages to forward. - Only udp listeners are allowed, address must be prefixed using - 'udp@', 'udp4@' or 'udp6@'. This supports for all "bind" parameters - found in 5.1 paragraph but most of them are irrelevant for udp/syslog case. +dgram-bind [param*] + Used to configure a UDP log listener to receive messages to forward. Only UDP + listeners are allowed, the address must be prefixed using "udp@", "udp4@" or + "udp6@". This supports for some of the "bind" parameters found in 5.1 + paragraph among which "interface", "namespace" or "transparent", the other + ones being silently ignored as irrelevant for UDP/syslog case. log global log
[len ] [format ] [sample :] diff --git a/src/log.c b/src/log.c index e8b172d48..984a31a26 100644 --- a/src/log.c +++ b/src/log.c @@ -3610,7 +3610,7 @@ int cfg_parse_log_forward(const char *file, int linenum, char **args, int kwm) px->id = strdup(args[1]); } - else if (strcmp(args[0], "bind") == 0) { + else if (strcmp(args[0], "dgram-bind") == 0) { int cur_arg; static int kws_dumped; struct bind_conf *bind_conf;