mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-04 20:46:25 +00:00
4a6328f066
In case of connection failure, a dedicated error message is output, following the format described in section "Error log format" of the documentation. These messages cannot be configured through a log-format option. This patch adds a new option, "dontloglegacyconnerr", that disables those error logs when set, and "replaces" them by a regular log line that follows the configured log-format (thanks to a call to sess_log in session_kill_embryonic). The new fc_conn_err sample fetch allows to add the legacy error log information into a regular log format. This new option is unset by default so the logging logic will remain the same until this new option is used. |
||
---|---|---|
.. | ||
haproxy | ||
import |