From owner-freebsd-questions Mon Nov 22 14: 6:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by hub.freebsd.org (Postfix) with ESMTP id DC8B114BE7 for ; Mon, 22 Nov 1999 14:06:29 -0800 (PST) (envelope-from richs@vicor-nb.com) Received: from rich (rich.mo.lbx2k.com [192.168.41.242]) by mail.vicor-nb.com (Postfix) with SMTP id 4ADBE97E01 for ; Mon, 22 Nov 1999 14:06:05 -0800 (PST) From: "Rich Spickler" To: Subject: Syslog and sudo Date: Mon, 22 Nov 1999 16:07:58 -0600 Message-ID: <000101bf3536$08da65e0$f229a8c0@rich.mo.lbx2k.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings, Below is my syslog file with which we are trying to exclude sudo messages in /var/log/messages. With sudo.none it excludes all notice entries as well. We believe that sudo.none is not valid so it does nothing for that line. How can we exclude sudo messages in /var/log messages? Thanks, Rich Spickler *.err;kern.debug;auth.notice;mail.crit /dev/console *.notice;sudo.none /var/log/messages kern.debug /var/log/messages lpr.info /var/log/messages news.err /var/log/messages mail.crit /var/log/messages mail.info /var/log/maillog lpr.info /var/log/lpd-errs cron.* /var/cron/log root.* /var/log/root *.err root *.notice;news.err root *.alert root *.emerg * # uncomment these if you're running inn # news.crit /var/log/news/news.crit # news.err /var/log/news/news.err # news.notice /var/log/news/news.notice !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log !sudo *.* @cfg1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message