]> git.kaiwu.me - haproxy.git/commit
MINOR: log: add proxy_logformat_origin() to detect a proxy's log-format type
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Oct 2026 16:42:16 +0000 (18:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 08:30:59 +0000 (10:30 +0200)
commitb2b6115d496596241448c6016eed779cb71675e6
tree3c8650b55d0a91b44f55ed28deb6ae759f7668c1
parent3b80aed42e42f979362d0847c19c951e3747da18
MINOR: log: add proxy_logformat_origin() to detect a proxy's log-format type

This new function will check the proxy's logformat.str and return return
an option name (e.g. "option httplog") or a directive ("log-format") that
will permit error messages to report where a log-format had been set.
include/haproxy/log.h