> If those syslog levels are data in the linux message, then you can > filter on them like filtering on any other character string. If the > syslog levels are not in the data, no, you cannot filter.
Couldn't you use /etc/syslogd.conf to write only the levels you want to /dev/console? > > The syslog levels I am referring to are... > > > > 0 Emergency: system is unusable > > 1 Alert: action must be taken immediately > > 2 Critical: critical conditions > > 3 Error: error conditions > > 4 Warning: warning conditions > > 5 Notice: normal but significant condition > > 6 Informational: informational messages > > 7 Debug: debug-level messages Note -- don't rely on this classification to hold across all Linux implementations. The syslog "classes" are arbitrary at best, and user applications don't obey this taxonomy at all.
