Date: Sun, 21 Feb 2010 14:46:50 -0600 From: Phusion <phusion2k@gmail.com> To: freebsd-questions@freebsd.org Subject: Getting kernel messages using syslog-ng 3.x Message-ID: <c3ed3fdc1002211246r10a731bagefa3ed4251ebda12@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm in need of getting help using syslog-ng 3 on FreeBSD 8.0-RELEASE. 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); }; The /etc/rc.conf.local has the following options in it. syslogd_enable="NO" syslog_ng_enable="YES" syslog_ng_pid="/var/run/syslog-ng.pid" This picks up other things, but not the kernel messages. I assume it's a small configuration issue. Using file /dev/klog works using syslog-ng 2.x on FreeBSD 8.0, but not using syslog-ng 3.x. Let me know. Thanks. Phusion
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c3ed3fdc1002211246r10a731bagefa3ed4251ebda12>