Is there a way to find the syslog priority or severity of log entries using a standard unix tool?
For example I could grep for the word error in a log. But not all logs will state the word "error" should an error occur. It would be nice to find all the entries in a log that were logged at the err severity.
Obviously syslog knows these attributes but I'm not sure if this related meta data is simpled dropped once the message is written to disk, so this may not be possible.