Lines Matching refs:facility
46 for facility in $facilities; do
48 tst_resm TINFO "Doing facility: $facility..."
55 echo "$facility.info /var/log/messages" >> $CONFIG_FILE
56 echo "$facility.info /var/log/maillog" >> $CONFIG_FILE
61 echo "filter f_syslog-$facility { level(info) and facility($facility); };" >> $CONFIG_FILE
64 …echo "log { source(src); filter(f_syslog-$facility); destination(syslog-mail); };" >> $CONFIG_FILE
65 …echo "log { source(src); filter(f_syslog-$facility); destination(syslog-messages); };" >> $CONFIG…
73 oldvalue=`grep -c "syslogtst: $facility info test." /var/log/messages`
79 old_mail_check=`grep -c "syslogtst: $facility info test." /var/log/maillog`
100 new_mail_check=`grep -c "syslogtst: $facility info test." /var/log/maillog`
101 newvalue=`grep -c "syslogtst: $facility info test." /var/log/messages`
105 if [ $facility = "mail" ]; then
107 tst_resm TFAIL " Facility $facility failed"
110 tst_resm TPASS " Facility $facility passed"
113 tst_resm TFAIL " Facility $facility failed"
116 tst_resm TPASS " Facility $facility passed"