]> git.kaiwu.me - haproxy.git/commit
MEDIUM: log: handle log-profile in process_send_log()
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 30 May 2024 15:14:58 +0000 (17:14 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Jun 2024 13:43:09 +0000 (15:43 +0200)
commitcc6fd2646b6c6017e98f41130db5c8432de8f2b1
tree85334dc67346ffafcf413fa3789807a61422c87e
parent48d34b98e48388f1e6ae251b15e40bd12572a214
MEDIUM: log: handle log-profile in process_send_log()

In previous commit we implemented log-profile parsing logic. Now let's
actually make use of available log-profile information from logger struct
to decide whether we need to rebuild the logline under process_send_log()
according to log profile settings. Nothing is done if the logger didn't
specify a log-profile.
src/log.c