From owner-freebsd-questions@FreeBSD.ORG Sun Feb 21 20:47:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07C65106568D for ; Sun, 21 Feb 2010 20:47:00 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.221.172]) by mx1.freebsd.org (Postfix) with ESMTP id BA9EF8FC08 for ; Sun, 21 Feb 2010 20:46:59 +0000 (UTC) Received: by qyk2 with SMTP id 2so920240qyk.20 for ; Sun, 21 Feb 2010 12:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ijAFb4VRMJGQRng/h4XAFJaoguAebHmmyMc+h1ZIhkI=; b=YJ6xRmDJBr4nyNDvRDIm3+I9CRF3jeyIrMEp7QuOaTBB+f01hEbLymB8TIVj1/N0TM VcRroW7TpuamM2v6rMtB/IrEHH5N/Cl7h2Cg7Meig6t2YI+G0ra55s9o0/eAYoa61/Kz wb4w3yLCfORr8cEnNlwILl70vV7mk2rgi2DbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uQ1uLB8Xq0xRZ+V8rZ7NdWyoAqweeqCoiA6WsXyd6bvN6rEaz4sjPHxzB5v+0omwAv nSTIxsz9PUWAacEH3oeEIn/RcMmncSfLRSRYrDoE040+vxidpWOSsVROW+ZPdZorxaWK BeTbdgafgY5OxG+AAuGAoLV+4Oj7cZGHkPLp4= MIME-Version: 1.0 Received: by 10.229.214.2 with SMTP id gy2mr1004939qcb.50.1266785210445; Sun, 21 Feb 2010 12:46:50 -0800 (PST) Date: Sun, 21 Feb 2010 14:46:50 -0600 Message-ID: From: Phusion To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Getting kernel messages using syslog-ng 3.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2010 20:47:00 -0000 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