]> git.kaiwu.me - haproxy.git/commit
MINOR: log: support 'to' parameter fo do-log action
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 2 Oct 2026 07:15:32 +0000 (09:15 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 5 Oct 2026 11:02:16 +0000 (13:02 +0200)
commit58382249595cb15bf4d5337ca677b6951a05b5a1
treeff9116fb0cd10bd54002a75ed65805db89b8d8bb
parent0aca5cd802081e0115ee85c78961a6ae314b5158
MINOR: log: support 'to' parameter fo do-log action

Similar to the "to" argument for "log" directive, the optional "to"
parameter allows to specify a list of comma separater loggers section
names to be used as log destination for the logs produce by the do-log
action.

However, while the "to" argument from "log" directive adds up loggers
to existing loggers of the proxy, the do-log "to" argument actually
replaces the loggers configured on the proxy! Indeed, the ultimate
goal is to be able to filter which loggers sections should receive
do-log logs, which by default are sent to all loggers from the proxy.
include/haproxy/action-t.h
src/log.c