Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 22:37:47 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Jose Monteiro <jm@pluriproj.pt>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Syslog problem 
Message-ID:  <199710222137.WAA01513@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Wed, 22 Oct 1997 14:14:05 GMT." <344f0879.169859067@mail.leirianet.pt> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
> 
> 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.
> 
> Any sugestions?
> 
> Thanks,

Syslog.conf is quite particular about <TAB>s rather than <SPACE>s.  
It tends to just ignore lines w/ spaces :-(

> Jose
> 
> 
> Sp*mbots buffet... 
> --------------------
> webmaster@localhost,  
> abuse@localhost, 
> postmaster@localhost, 
> postmaster@fbi.gov,
> postmaster@policiajudiciaria.pt,
> 

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710222137.WAA01513>