]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: Extract some code to send syslog messages.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 10 Apr 2019 06:22:17 +0000 (08:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Apr 2019 12:16:51 +0000 (14:16 +0200)
commit0bad840b4db7f96d46611a5a302a04b39712509f
tree7f3d77b99a3557cb6b811ac901d3be58674dc084
parent333939c2eee8f9dbfe11f66073e52892b38347e7
MINOR: log: Extract some code to send syslog messages.

This patch extracts the code of __send_log() responsible of sending a syslog
message to a syslog destination represented as a logsrv struct to define
__do_send_log() function. __send_log() calls __do_send_log() for each syslog
destination of a proxy after having prepared some of its parameters.
src/log.c