[Twisted-Python] Where to start: log reader/analysis

Andrew E andrew at ellerton.net
Sun Aug 5 14:08:01 MDT 2007


Dear Twisted Experts (... meant in a nice way :) )

I'm not sure where to start.

I need to write a small server that:

 - reads lines in a log file as they are appended
 - reads input from a socket as it becomes available
 - does an analysis of both (like, what time was input received in the
log, and the output received via the socket)
 - outputs a summary report

Socket I/O is easy - but I'm not sure how to include file reading ...
its bound to be easy.

Any tips?

Thanks :)

Andrew




More information about the Twisted-Python mailing list