From 114f00e02465789ebb95314e5cf6144dba8bab49 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 1 Oct 2026 11:03:18 +0200 Subject: [PATCH] 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. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3