7 Nov
2002
7 Nov
'02
2:25 p.m.
from http://www.campin.net/syslog-ng/faq.html
Q: I want to replace syslogd *and* klogd on my Linux box with syslog-ng.
A: Use a source line like this in your conf file to read kernel messages, too. source src { pipe("/proc/kmsg"); unix-stream("/dev/log"); internal(); };
Note: do not run klogd and syslog-ng fetching local kernel messages at the same time. It may cause syslog-ng to block which makes all logging local daemons unusable.
As /proc/kmsg and /dev/log are outside the jail, is there a way to do the same thing with a chrooted syslog-ng ? Thanks Regards, Guillaume