From owner-freebsd-questions Wed Oct 22 17:37:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA13649 for questions-outgoing; Wed, 22 Oct 1997 17:37:50 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA13641 for ; Wed, 22 Oct 1997 17:37:43 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id KAA25429; Thu, 23 Oct 1997 10:07:26 +0930 (CST) Message-ID: <19971023100725.39723@lemis.com> Date: Thu, 23 Oct 1997 10:07:25 +0930 From: Greg Lehey To: Jose Monteiro Cc: FreeBSD Questions Subject: Re: Syslog problem References: <344f0879.169859067@mail.leirianet.pt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <344f0879.169859067@mail.leirianet.pt>; from Jose Monteiro on Wed, Oct 22, 1997 at 02:14:05PM +0000 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, Oct 22, 1997 at 02:14:05PM +0000, Jose Monteiro wrote: > Hi, > > I'm having a little problem configuring syslog.conf to log all kernel > messages of priority notice or higher. > > In /etc/syslog.conf I have: > > kern.notice /var/log/kernel.log This logs kern.notice only, not messages of higher priority. > The file kernel.log was created by root with touch and the permissions > are: > > 195 0 -rw-r--r-- 1 root bin 0 Oct 22 15:15 kernel.log > > But I'm not managing to log any messages in kernel.log. > > I tried to use logger with: > > #logger -p kern.notice Testing... > > And I log the message in messages (because of *.notice in syslog.conf) > but nothing goes to kernel.log. Have you restarted syslogd? Greg