[syslog-ng] kernel message logging

Balazs Scheidler bazsi at balabit.hu
Mon Aug 14 13:00:29 CEST 2006


On Fri, 2006-08-11 at 16:11 -0700, Bruce Penrod wrote:

> As a workaround, I tried using klogd with syslog-ng.  I did turn off the 
> syslog-ng source for /proc/kmsg.  Now I don't see kernel messages on my 
> console, but I don't get any kernel message logging either.  Again, 
> should this work?  I don't see that there should be any special source 
> definition in syslog-ng.conf for this to work.

In addition to Sandor's response, I'd like to add that this combination
should work, however klogd uses its own syslog() implementation instead
of using the one in libc, and it does not support
unix-stream() /dev/log, only unix-dgram(). That's probably the reason
why it does not work.

-- 
Bazsi



More information about the syslog-ng mailing list