From owner-freebsd-stable@FreeBSD.ORG Wed May 21 14:16:38 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B203A1065676 for ; Wed, 21 May 2008 14:16:38 +0000 (UTC) (envelope-from nb@ravenbrook.com) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.164.110.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA0A8FC26 for ; Wed, 21 May 2008 14:16:37 +0000 (UTC) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.164.110.145]) by raven.ravenbrook.com (8.13.8/8.13.8) with ESMTP id m4LEGYfd019334 for ; Wed, 21 May 2008 15:16:34 +0100 (BST) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.13.4/8.13.4) with ESMTP id m4LEGYL6074605 for ; Wed, 21 May 2008 15:16:34 +0100 (BST) (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes Content-transfer-encoding: 8bit Content-type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200805201621.m4KGL1WU067028@lurza.secnetix.de> from Oliver Fromme of "Tue, 20 May 2008 18:21:01 +0200" Date: Wed, 21 May 2008 15:16:34 +0100 Message-ID: <74604.1211379394@thrush.ravenbrook.com> Sender: nb@ravenbrook.com X-Virus-Scanned: ClamAV 0.92.1/6882/Tue Apr 22 18:33:01 2008 on raven.ravenbrook.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on raven.ravenbrook.com X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 Cc: Subject: Re: syslog console log not logging SCSI problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 14:16:38 -0000 At 2008-05-20 16:21:01+0000, Oliver Fromme writes: > Nick Barnes wrote: > > One of our FreeBSD boxes has a SCSI controller and disk, which showed > > problems earlier this week. There was a lot of of chatter from the > > SCSI driver in /var/log/messages and to the console. However, the > > console is unattended and we only discovered the problem subsequently > > because /var/log/console.log didn't show any of the chatter. > > The console.* syslog facility only logs real console output, > i.e. things written to /dev/console. That does _not_ include > output from the kernel. > > For logging kernel output you have to use the kern.* syslog > facility. OK. So when syslogd directs output to the console, it does not also treat it as console.* output? Thanks for this explanation. I'll modify my syslog.conf accordingly. Nick B