]> git.kaiwu.me - haproxy.git/commit
MINOR: log: support optional 'profile <log_profile_name>' argument to do-log action
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 19 Mar 2026 11:43:00 +0000 (12:43 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 20 Mar 2026 10:42:48 +0000 (11:42 +0100)
commit5617e47f915caff2a6f4b9f89080aa2b510b9a18
treea74334c71072183b901d65dde6c5e900d4426f58
parent042b7ab763f21cde445137e8e54b1af8e0434925
MINOR: log: support optional 'profile <log_profile_name>' argument to do-log action

We anticipated that the do-log action should be expanded with optional
arguments at some point. Now that we heard of multiple use-cases
that could be achieved with do-log action, but that are limitated by the
fact that all do-log statements inherit from the implicit log-profile
defined on the logger, we need to provide a way for the user to specify
that custom log-profile that could be used per do-log actions individually

This is what we try to achieve in this commit, by leveraging the
prerequisite work performed by the last 2 commits.
doc/configuration.txt
include/haproxy/action-t.h
src/log.c