In message <[email protected]>, [email protected] writes: >On Mon, 28 Mar 2011, Risto Vaarandi wrote: > >> In fact, I like David's approach more, since it this prevents >> expensive multiline matching against *all* input. Or to put it >> differently, decomposing a problem into several simple questions is >> often more efficient than attacking the original issue. > >one other advantage of this approach is that it can handle the case where >logs of different types get intermingled as the second step can include >whatever conditional tests that you want (check that it's from the correct >server, or from the correct application for example)
Also another description of a line at a time parser is at: http://www.mail-archive.com/[email protected]/msg00792.html Although it doesn't include david's idea on handling intermixed log entries. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Simple-evcorr-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
