Date: Thu, 23 Oct 1997 10:07:25 +0930 From: Greg Lehey <grog@lemis.com> To: Jose Monteiro <jm@pluriproj.pt> Cc: FreeBSD Questions <questions@FreeBSD.org> Subject: Re: Syslog problem Message-ID: <19971023100725.39723@lemis.com> In-Reply-To: <344f0879.169859067@mail.leirianet.pt>; from Jose Monteiro on Wed, Oct 22, 1997 at 02:14:05PM %2B0000 References: <344f0879.169859067@mail.leirianet.pt>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971023100725.39723>