Date: Mon, 22 Feb 1999 15:00:23 -0500 From: SERVICE Jim -TS+NP DVLPMT <Jim.Service@oht.hydro.on.ca> To: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: RE: syslog.conf Message-ID: <ACFC07E2E0DAD111A55F00600894C8C752B5B1@KEX2.RD.Hydro.ON.CA>
next in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ACFC07E2E0DAD111A55F00600894C8C752B5B1>