From 0f7f695b8f34137eb9ce56295739c4ca4068d5fc Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 27 Apr 2026 07:32:20 +0200 Subject: [PATCH] DOC: config: Fix log-format example with last rule expressions %[] were missing. --- doc/configuration.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 461c07b40..af581e215 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1031,7 +1031,7 @@ The variables in question are the following: Example: # Add the rule that gave the final verdict to the log - log-format "${HAPROXY_TCP_LOG_FMT} lr=last_rule_file:last_rule_line" + log-format "${HAPROXY_TCP_LOG_FMT} lr=%[last_rule_file]:%[last_rule_line]" * HAPROXY_HTTPS_LOG_FMT: similar to HAPROXY_HTTP_LOG_FMT but for HTTPS log format as defined in section 8.2.4 "HTTPS log format".