]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: provide log origin in logformat expressions using '%OG'
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 6 May 2024 12:13:11 +0000 (14:13 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Jun 2024 13:43:09 +0000 (15:43 +0200)
commit8f34320e15c336a7ea5f37107d7264ca557d055c
tree19891e70c0ef557a79acab9affc36867a64be3b3
parentb52862d40167bbf209573b883cdb74b91c93bbe9
MINOR: log: provide log origin in logformat expressions using '%OG'

'%OG' logformat alias may be used to report the log origin (when/where)
that triggered log generation using sess_build_logline().

Possible values are:
  - "sess_error": log was generated during session error handling
  - "sess_killed": log was generated during session abortion (killed
    embryonic session)
  - "txn_accept": log was generated right after frontend conn was accepted
  - "txn_request": log was generated after client request was received
  - "txn_connect": log was generated after backend connection establishment
  - "txn_response": log was generated during server response handling
  - "txn_close": log was generated at the final txn step, before closing
  - "unspec": unknown or not specified

Documentation was updated.
doc/configuration.txt
include/haproxy/log.h
src/log.c