Well, if you don't know what error messages to expect, you'll have to write patterns for the known good messages and check if any lines fail to validate as known good. They must be bad then. Of course you'll probably get a couple false alarms, but you can watch those and tune your patterns.