disable logging

Jonathan Marsden jonathan at bach.xc.org
Fri Jan 17 17:20:41 EST 2003


On 17 Jan 2003, Woerns Urstmann writes:

>> So you will want local6.info or somesuch..

> thanks. but now i got it logging to /var/log/auth.log AND
> /var/log/messages - there is an entry in syslog.conf:

> # save the rest in one file
> *.*;mail.none;news.none         -/var/log/messages

> the *.* is doing it, right? but if i remove it, am i loosing some important 
> logging entries?

(1) If you want auth.info in a separate file, add ";auth.none" to the
entry for /var/log/messages.  So it would become more like:

*.*;mail.none;news.none;auth.none         -/var/log/messages

(2) If you want the auth messages only in /var/log/messages, just
delete your syslog.conf entry for /var/log/auth.log.  

Which way you do it just a matter of personal preference.

Jonathan
--
Jonathan Marsden       	| Internet: jonathan at xc.org	| Making electronic 
1252 Judson Street  	| Phone: +1 (909) 795-3877	| communications work 
Redlands, CA 92374     	| Fax:   +1 (909) 795-0327	| reliably for Christian 
USA            		| http://www.xc.org/jonathan	| missions worldwide 





More information about the Info-cyrus mailing list