Hi,
I've just tried to configure haproxy but stumbled across the issue that only starting of the service is logged.
haproxy in debug mode:
[ALERT] 263/133931 (84070) : sendmsg()/writev() failed in logger #1: No such file or directory (errno=2)
/var/haproxy/var/run/ is empty...
As I'm not so deep in the logic of opnsense yet, I only found the plugin "setup" of the logging, but not sure where it's executed:
https://github.com/opnsense/plugins/blob/master/net/haproxy/src/etc/inc/plugins.inc.d/haproxy.inc
/**
* register legacy syslog facilities
* @return array
*/
function haproxy_syslog()
{
$syslogconf = array();
$syslogconf['haproxy'] = array(
'local' => '/var/haproxy/var/run/log',
'facility' => array('haproxy'),
'remote' => 'relayd',
);
return $syslogconf;
}
Any idea before I just try reinstalling haproxy?
Thanks in advance & best regards
Jens