hi David,

Am Freitag, den 05.11.2010, 00:32 -0700 schrieb [email protected]:
> you can't use the 'isequal' type of thing in an if statement
> you need to do something more like (untested):
> 
> if ($fromhost-ip = '130.83.160.22' and ($syslogseverity-text != 'err'
> or $syslogseverity-text != 'emerg')) then /var/log/nos.log 

thanks :-) seems to be working, only one '=' was missing in your
example:

if ($fromhost-ip == '130.83.160.22' and ($syslogseverity-text != 'err'
or $syslogseverity-text != 'emerg')) then /var/log/nos.log 

:-)

cu denny

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to