[Tutor] parsing sendmail logs
jeff at drinktomi.com
Tue Jul 15 20:21:56 CEST 2008
On Jul 14, 2008, at 12:29 AM, nibudh wrote:
> Hi List,
> I'm looking for some support libraries that will help me to parse
> sendmail logs.
> I'm confused about whether i need a "parser" per se, and if i do
> which parser to use. I found this website http://nedbatchelder.com/text/python-parsers.html
> which compares a slew of python parsers.
Parsers as referenced in your link are intended for heavy-duty lifting
such as parsing programming languages.
Sendmail logs are very simple, so those parsers are vast overkill.
on whitespace combined with regular expressions should be up to the job.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor