Lines Matching refs:level
28 # For each level, a separate configuration file is
43 for level in $levels
45 tst_resm TINFO "Doing level: $level..."
49 # Create the configuration file specific to this level
50 echo "mail.$level $MAILLOG" >> $CONFIG_FILE
54 # Create the configuration file specific to this level
56 echo "mail.$level $MAILLOG" >> $CONFIG_FILE
61 echo "filter f_syslog_$level { level($level) and facility(mail); };" >> $CONFIG_FILE
62 echo "destination syslog-$level { file(\"$MAILLOG\"); };" >> $CONFIG_FILE
63 echo "log { source(src); filter(f_syslog_$level); destination(syslog-$level); };" >> $CONFIG_FILE;;
73 oldvalue=`grep -c "syslogtst: mail $level test\." $MAILLOG`
78 # syslogtst has to be called with additional level argument(0-7)
90 newvalue=`grep -c "syslogtst: mail $level test" $MAILLOG`
93 tst_resm TFAIL "***** Level $level failed *****"
96 tst_resm TPASS "***** Level $level passed *****"
98 # Increment the level_no for next level...
106 tst_resm TINFO "For each level, a separate configuration file is"