commit | 0bad840b4db7f96d46611a5a302a04b39712509f | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Wed Apr 10 08:22:17 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 23 14:16:51 2019 +0200 |
tree | 7f3d77b99a3557cb6b811ac901d3be58674dc084 | |
parent | 333939c2eee8f9dbfe11f66073e52892b38347e7 [diff] |
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.