At 03:56 PM 11/10/00 -0600, Mikkel L. Ellertson wrote:
>On Fri, 10 Nov 2000, Lee Howard wrote:
>
>> Here's the problem line:
>> 
>> *.info;mail.none;news.none;authpriv.none                /var/log/messages
>> 
>> How do I change that *.info to not include kern=.info ?
>> 
>> Thanks.
>> 
>> Lee.
>> 
>> 
>Try changing it to:
>*.info;kern.!=info;mail.none;news.none;authpriv.none    /var/log/messages
>or
>*.info;kern.=!info;mail.none;news.none;authpriv.none    /var/log/messages
>
>I don't remember what format works != or =!, but one or maybe both work.
>Just don't forget to restart syslogd after changing the config file.

from 'man syslog.conf'

       This syslogd(8) has a syntax extension to the original BSD
       source, that makes its use more intuitively.  You may pre­
       cede every priority with an equation sign (``='') to spec­
       ify  only  this  single priority and not any of the above.
       You may also (both is valid,  too)  precede  the  priority
       with an exclamation mark (``!'') to ignore all that prior­
       ities, either exact this one or this and any higher prior­
       ity.  If you use both extensions than the exclamation mark
       must occur before the equation sign,  just  use  it  intu­
                  ^^^^^^
       itively.

Thanks all.

Lee.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to