]> 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 07:31:07 +0000 (09:31 +0200)
commit7aa4687330527da23a5f7f0bb4d09b115f1a9bfa
tree182646515ab1c44d0ec23063fa67c4e874e7d31f
parent2177da75ec6c0da54b1f7b30c82c16a4fe775ff1
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