Lines Matching full:log
45 # Adds some clarification of log message when syslog-ng is used
59 echo "user.debug /var/log/messages" >> $CONFIG_FILE
63 …echo "source src{ internal(); unix-dgram(\"/dev/log\"); udp(ip(\"0.0.0.0\") port(514)); };" > $CON…
68 echo "destination syslog-messages { file(\"/var/log/messages\");};" >> $CONFIG_FILE
69 …echo "log { source(src); filter(f_syslog_messages); destination(syslog-messages); };" >> $CONFIG_F…
75 if [ -e /var/log/messages ]; then
76 emerg_old=`grep -c "syslogtst: emergency log" /var/log/messages`
77 alert_old=`grep -c "syslogtst: alert log" /var/log/messages`
78 crit_old=`grep -c "syslogtst: critical log" /var/log/messages`
79 err_old=`grep -c "syslogtst: error log" /var/log/messages`
80 warning_old=`grep -c "syslogtst: warning log" /var/log/messages`
81 notice_old=`grep -c "syslogtst: notice log" /var/log/messages`
82 info_old=`grep -c "syslogtst: info log" /var/log/messages`
83 debug_old=`grep -c "syslogtst: debug log" /var/log/messages`
102 emerg_new=`grep -c "syslogtst: emergency log" /var/log/messages`
103 alert_new=`grep -c "syslogtst: alert log" /var/log/messages`
104 crit_new=`grep -c "syslogtst: critical log" /var/log/messages`
105 err_new=`grep -c "syslogtst: error log" /var/log/messages`
106 warning_new=`grep -c "syslogtst: warning log" /var/log/messages`
107 notice_new=`grep -c "syslogtst: notice log" /var/log/messages`
108 info_new=`grep -c "syslogtst: info log" /var/log/messages`
109 debug_new=`grep -c "syslogtst: debug log" /var/log/messages`