]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: add log-profile parsing logic
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 22 May 2024 15:09:48 +0000 (17:09 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Jun 2024 13:43:09 +0000 (15:43 +0200)
commit15e9c7da6b4df6434fb4eeeae4fef2ef3a11495a
treee6b44e16f29a7b575c7ade9ea7faee6e58a7b77e
parent33f3bec7eef3c5cf92e2180b3ee2abb3e4b99a1e
MINOR: log: add log-profile parsing logic

This patch implements prerequisite log-profile struct and parser logic.
It has no effect during runtime for now.

Logformat expressions provided in log-profile "steps" are postchecked
during postparsing for each proxy "log" directive that makes use of a
given profile. (this allows to ensure that the logformat expressions
used in the profile are compatible with proxy using them)
include/haproxy/log-t.h
include/haproxy/log.h
src/cfgparse-global.c
src/log.c