Search log for string and display hourly/daily report

spek06 at spek06 at
Wed Jan 23 20:05:31 CET 2013

I need to search a log file for a specific string (Successfully Sent) and report the number of instances in the last hour (from when executed) and total for the day so far (midnight till the time executed). Can anyone provide any examples of such a program or get me started?

More information about the Python-list mailing list