From: Aurelien DARRAGON Date: Thu, 1 Oct 2026 09:03:18 +0000 (+0200) Subject: BUG/MINOR: log: fix erroneous error message in log-steps parser X-Git-Tag: v3.5-dev9~210 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=114f00e02465789ebb95314e5cf6144dba8bab49;p=haproxy.git BUG/MINOR: log: fix erroneous error message in log-steps parser When invalid arguments are provided to "log-steps" directive, the following error is returned: "invalid arguments, expects 'all' or a composition of logging steps separated by spaces." While in fact the parser expects comma separated values, and even the documentation states it. Let's fix the error message to match with the actual behavior and doc. It should be backported to 3.2. --- diff --git a/src/log.c b/src/log.c index 18c93dacb..62ca5bab1 100644 --- a/src/log.c +++ b/src/log.c @@ -7134,7 +7134,7 @@ static int px_parse_log_steps(char **args, int section_type, struct proxy *curpx if (args[1] == NULL) { memprintf(err, "%s: invalid arguments, expects 'all' or a composition of logging" - "steps separated by spaces.", + "steps separated by commas.", args[0]); goto end; }