MINOR: log: Add new "error-log-format" option
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 31 Aug 2021 10:08:52 +0000 (12:08 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 31 Aug 2021 10:13:08 +0000 (12:13 +0200)
commitfe21fe76bd26a11b212fcbcf0b43463ed086073f
tree895f6f98adca282bbf29e9a962de6df3ae94a8f4
parent3d6350e1084ca806d9f78c3802665e235e1fbf27
MINOR: log: Add new "error-log-format" option

This option can be used to define a specific log format that will be
used in case of error, timeout, connection failure on a frontend... It
will be used for any log line concerned by the log-separate-errors
option. It will also replace the format of specific error messages
decribed in section 8.2.6.
If no "error-log-format" is defined, the legacy error messages are still
emitted and the other error logs keep using the regular log-format.
doc/configuration.txt
include/haproxy/proxy-t.h
reg-tests/ssl/ssl_errors.vtc
src/cfgparse-listen.c
src/cfgparse.c
src/log.c
src/proxy.c
src/session.c