]> git.kaiwu.me - haproxy.git/commit
MINOR: log: add log profile buildlines
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 31 Jan 2024 17:25:09 +0000 (18:25 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Jun 2024 13:43:09 +0000 (15:43 +0200)
commit48d34b98e48388f1e6ae251b15e40bd12572a214
treec0f1880d926c4ea0b02a882569c028c1aa47e637
parent15e9c7da6b4df6434fb4eeeae4fef2ef3a11495a
MINOR: log: add log profile buildlines

Now that we have log-profile parsing done, let's prepare for runtime
log-profile handling by adding the necessary string buffer required to
re-build log strings using sess_build_logline() on the fly without
altering regular loglines content.

Indeed, since a different log-profile may (or may not) be specified for
each logger, we must keep the original string and only rebuild a custom
one when required for the current logger (according to the selected log-
profile).
src/log.c