[syslog-ng] Can't get kernel messages on FreeBSD

Gergely Nagy algernon at balabit.hu
Fri Oct 19 10:33:04 CEST 2012

Tomoki BENIYA <beniya at bit-isle.co.jp> writes:

> I installed syslog-ng3.3.6_3 using ports on FreeBSD9.0-RELEASE(i386).
> I can't get kernel messages by default configuration.
> ex. em0: link state changed to DOWN
>     em0: link state changed to UP
> But, I can see them using 'cat /dev/klog' after stoppedsyslog-ng. So, I
> think syslog-ng can't get kermel messages from /dev/klog.

This should be fixed in 3.3.7RC2 (or, sysutils/syslog-ng-rc
from ports should make upgrading easy.

> source s_kern { file("/dev/klog"); };

You might want to use the system() source here, or add a few flags to

file("/dev/klog" follow-freq(0) program-override("kernel") flags(no-parse));


More information about the syslog-ng mailing list