On Fri, 5 Apr 2013, Josh Bitto wrote:

if \
       $source != 'syslog.onlineschool.ca' \
               and \
               $programname == 'httpd' \
               and \
               $syslogfacility-text == 'local6' \
then    ?httpdaccess

if \
       $source != 'syslog.onlineschool.ca' \
       and \
                $programname != 'httpd' \
       and \
                $syslogfacility-text == 'local7' \
then    ?httpderror


The access one works...but the error log does not. Any ideas?

is it because of the difference between "==" and "!="?

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to