On 11/05/12 17:27:19, Mark Rogers wrote:
On 11/05/12 17:13, Barry Samuels wrote:
Thanks to Mark for having a try at the expression but it didn't work. Laurie's simple version appears to have done the trick. Thanks to you both.
No problem.
Just be careful with less specific versions that you don't miss things that matter (I'm sure you're fine here but just make sure you consider it).
I've seen situations where a problem occurs and you spend ages trying to diagnose it only to discover that the critical messages were being stripped from the logs. As long as you don't care about *any* message that starts "kernel" and has "Setting dpms mode" in it you'll be fine here, including any other driver that might decide to set dpms mode in the future!
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
Nothing is actually being removed from the logs it just prevents a constant flow of emails to me about it.
I may experiment in slowly adding to that simplified expression to see if I can get a more focussed match.
That documentation link you provided could be very useful. Thanks.