From owner-freebsd-questions Mon Feb 22 12: 2: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from torrent.hydro.on.ca (beck.Hydro.ON.CA [192.75.134.5]) by hub.freebsd.org (Postfix) with SMTP id 7411210E64 for ; Mon, 22 Feb 1999 12:02:03 -0800 (PST) (envelope-from Jim.Service@oht.hydro.on.ca) Received: id PAA14839; Mon, 22 Feb 1999 15:05:18 -0500 Received: by gateway id OAA17977 for ; Mon, 22 Feb 1999 14:58:48 -0500 (EST) Received: by gateway id OAA22914 for ; Mon, 22 Feb 1999 14:58:41 -0500 Received: by gateway id ; Mon, 22 Feb 1999 15:00:20 -0500 Message-ID: From: SERVICE Jim -TS+NP DVLPMT To: "'freebsd-questions@FreeBSD.ORG'" Subject: RE: syslog.conf Date: Mon, 22 Feb 1999 15:00:23 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Original Message----- From: Greg Black [mailto:gjb@comkey.com.au] Sent: 22 February, 1999 06:01 To: Patrick Seal Cc: freebsd-questions@FreeBSD.ORG Subject: Re: syslog.conf > I'm trying to restrict the messeges that fill up my messeges log file into > a sudo log. This is what I have so far: > > *.notice;kern.debug;mail.crit /var/log/messages Using this worked for me: *.notice;kern.debug;mail.crit;sudo.none /var/log/messages Though, syslog would complain to the console which I don't normally look at anyway. > > !sudo > *.* /var/log/sudo > > But sudo stuff still goes into messeges as well as sudo. How can I > restrict sudo stuff from the messeges file? I've tried sudo.none but that > doesn't seem to help, and the man page isn't much help either. James (Jim) R.R. Service Internet: jservice@hydro.on.ca ------------------------ jservice@yahoo.com Ontario Hydro Technologies Exchange: Jim.Service@oht.hydro.on.ca 800 Kipling Ave. - Room KR240 FAX: (416) 207-6216 Toronto, Ontario, CANADA M8Z 5S4 voice: (416) 207-6946 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message