]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: explicitly ignore "log-steps" on backends
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 22 Jul 2025 08:14:47 +0000 (10:14 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 22 Jul 2025 08:22:04 +0000 (10:22 +0200)
commit054fa05e1fa90b4a43c268917a31fbbfb109f14d
tree9cb50ef7f08f1657ac471d7171bbd18d5710e352
parente02939108e418f7637efd781473071695f201958
MINOR: log: explicitly ignore "log-steps" on backends

"log-steps" was already ignored if directly defined in a backend section,
however, when defined in a defaults section it was inherited to all
proxies no matter their capability (ie: including backends).

As configurations often contain more backends than frontends, this would
result in wasted memory given that the log-steps setting is only
considered on frontends.

Let's fix that by preventing the inheritance from defaults section to
anything else than frontends. Also adjust the documentation to mention
that the setting in not relevant for backends.
doc/configuration.txt
src/proxy.c