On 9/28/11 1:19 AM, Glyph Lefkowitz wrote: > Hi Victor, > > This /should/ be pretty easy to accomplish; this kind of thing is > generally very straightforward using Twisted. Obviously you'd have to > implement a protocol for talking to Gamin, but I think the protocol > involved is well-documented and very straightforward. I would say that streaming logs in a _reliable_ fashion is a non-trivial problem.
If you want to make sure that you do not miss any log lines, you cannot simply just push them over the connection. You will never know what messages was received on the other side after a loss of the connection. That's why people have developed things like http://www.librelp.com/relp.html and Scribe. I guess it all depends on your requirements. I would also like to point out that Twisted would be a perfect match for writing such a thing. -- Johan Rydberg Product Designer Edgeware AB Mäster Samuelsgatan 56 SE-111 21 Stockholm, Sweden _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python