On Mon, 2002-10-28 at 16:04, Alessandro Fiorenzi wrote:
> Hi, I have a question  about syslog configuration file, I have
> centralized syslog of out serverfarm, this is my syslog.conf file:
> 
> 
>     # Log all kernel messages to the console.
>     # Logging much else clutters up the screen.
>     kern.*                                                 
>     /opt/systemslog/kernel.log
>     authpriv.*                                             
>     /opt/systemslog/secure.log
>     mail.*                                                 
>     /opt/systemslog/maillog.log
>     
>     # Log anything (except mail) of level info or higher.
>     # Don't log private authentication messages!
>     *.info                                                 
>     /opt/systemslog/info.log
>     *.notice                                               
>     /opt/systemslog/notice.log
>     *.warning                                              
>     /opt/systemslog/warning.log
>     *.crit                                                 
>     /opt/systemslog/crit.log
>     *.alert                                                
>     /opt/systemslog/alert.log
>     *.emerg                                                
>     /opt/systemslog/emerg.log
>     
>     *.info;mail.none;news.none;authpriv.none;cron.none     
>     /opt/systemslog/messages
>     !.info,!.notice,!.warning,!.crit,!.alert,!.emerg       
>     /opt/systemslog/other.log
>     
>     # The authpriv file has restricted access.
>     # Log all the mail messages in one place.
> 
> I wuold like to record on info all info facilities except the mail one,
> how can I do?
> 

Try
*.=info;mail.none               /~/~/info.log

Regards,
Peter




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to