[syslog-ng] Syslog-ng 3.x and kernel messages
Evan Rempel
erempel at uvic.ca
Sun Feb 21 19:04:17 CET 2010
I don't use FreBSD, but under linux the kernel messages are in
/dev/kmsg
source local { internal();
unix-stream("/dev/log");
file("/proc/kmsg" log_prefix("kernel: "));
unix-dgram("/var/run/log");
};
________________________________________
From: syslog-ng-bounces at lists.balabit.hu [syslog-ng-bounces at lists.balabit.hu] On Behalf Of Phusion [phusion2k at gmail.com]
Sent: Sunday, February 21, 2010 9:41 AM
To: syslog-ng at lists.balabit.hu
Subject: [syslog-ng] Syslog-ng 3.x and kernel messages
I've used syslog-ng 1.x and 2.x, but am new to using 3.x. I'm using
syslog-ng 3.0.3 on a FreeBSD 8.0 server. I'm having trouble getting
kernel messages. I've made a very small config file, and this isn't
working either.
@version:3.0
source local { internal(); file("/dev/klog"); unix-dgram("/var/run/log"); };
destination all { file("/var/log/all.log"); };
log { source(local); destination(all); };
This picks up other things, but not the kernel messages. I assume it's
a small configuration issue. Let me know. Thanks.
Phusion
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html
More information about the syslog-ng
mailing list