]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: logs: fix log-steps extra log origins selection
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 21 Jul 2025 13:18:37 +0000 (15:18 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 21 Jul 2025 13:33:55 +0000 (15:33 +0200)
commit563b4fafc26f20ff0e799811f7cea7dca01f2c9e
tree081dce1002ffebda9d1573df3d466965bef1cbd5
parentf8e9545f700a4e3799bbac4cd1c94989b9c1fb61
BUG/MINOR: logs: fix log-steps extra log origins selection

Willy noticed that it was not possible to select extra log origins using
log-steps directive. Extra origins are the one registered using
log_orig_register() such as http-req.

Reason was the error path was always executed during extra log origin
matching for log-steps parser, while it should only be executed if no
match was found.

It should be backported to 3.1.
src/log.c