[syslog-ng]linux kernel message

Georgi Chorbadzhiyski gf@topbg.com
Wed, 29 Nov 2000 09:21:43 +0200


Hi!

After installing syslog-ng. I no longer can log my kernel
messages. I'm using Slackware 7.1 with klogd 1.4 and syslog-ng 1.4.9a.
Yes klogd is running and with original syslogd everything was just fine.

source src2 { unix-dgram("/dev/log"); };
              ^^^^^^^^^^
 I put this here because in this mailing list
 somebody suggested using this on RedHat > 6
 It doesn't work :-(


Georgi Chorbadzhiyski
System Administrator
top.bg


Here is my configuration file. 

options { long_hostnames(on); sync(0); };

source src { unix-stream("/dev/log"); internal(); };
source src2 { unix-dgram("/dev/log"); };

destination kern { file("/var/log/kern.log"); };

destination tty11 { file("/dev/tty11"); };
destination tty12 { file("/dev/tty12"); };

filter f_kern { facility(kern); };

log { source(src); filter(f_kern); destination(kern);
destination(tty11); };
log { source(src2); filter(f_kern); destination(kern);
destination(tty12); };