Friday, December 01, 2017

Re: syslog-ng running but not writing logs

On 2017/11/29 08:41, chrisb wrote:
> @version: 3.9.1
> source s_local {
> unix-dgram("/dev/log");
> };

Since OpenBSD 5.6, local logging uses sendsyslog(2) which doesn't use
/dev/log.

Fix #1: run syslogd(8) and have it forward messages to syslog-ng
(either using a network socket or some arrangement with a command pipe).

Fix #2: modify syslog-ng to use the procedure described in sendsyslog(2)
and used by syslogd to handle the new klog mechanism. (Basically, open
/dev/klog and use an ioctl).

Do you even need syslog-ng? There have been many improvements to the
standard syslogd in recent releases.

No comments:

Post a Comment