Log Suppression

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Fri Aug 11 14:17:08 UTC 2006


Gregory D Hough wrote:

> Is there anyway to eliminate oodles of these from appearing in 
> /var/log/messages?
> 
> Aug 11 08:30:01 localhost crond(pam_unix)[16278]: session opened for 
> user root by (uid=0)

You need to modify /etc/syslog.conf, probably you are logging all cron 
messages (cron.*).  You could change that so that you're not logging all 
messages (you probably want at least cron.warn and cron.crit).

Look at syslogd man page - and other related manpages.

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list