PyInotify only allows you to detect file changes, leaving you with the task of asynchronously sending http requests.<br><div><br></div><div>-martin<br><br><div class="gmail_quote">On Thu, Aug 27, 2009 at 12:19 PM, Mikhail <span dir="ltr"><<a href="mailto:termim@gmail.com">termim@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Martin-Louis Bright <mlbright <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
<br>
><br>
><br>
> I am using linux, and I want the daemon to be as responsive as possible to log<br>
events, so I think I would rather have it sit on the same box as where the log<br>
is produced. (Perhaps I'm wrong about this?) So I'm going to try Cary's<br>
ProcessProtocol approach, and if that doesn't work, Glyph's LoopingCall with a<br>
read() approach.<br>
><br>
<br>
</div>You can also use pyinotify to watch your log file changes.<br>
<a href="http://trac.dbzteam.org/pyinotify" target="_blank">http://trac.dbzteam.org/pyinotify</a><br>
<br>
Regards,<br>
<font color="#888888">Mikhail<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br></div>