Sorry for the late response.<br><br>This has (obviously) been a background, &quot;wouldn&#39;t it be cool&quot; type project.<br><br>Once I got remote logging over udp working w/ two machines w/ syslog-ng, the tiwsted python part was easy:<br>

<div style="margin-left: 40px;">from twisted.internet.protocol import DatagramProtocol<br>from twisted.internet import reactor<br><br>class Echo(DatagramProtocol):<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; def datagramReceived(self, data, (host, port)):<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print &quot;received %r from %s:%d&quot; % (data, host, port)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.transport.write(data, (host, port))<br><br>reactor.listenUDP(514, Echo())<br>reactor.run()<br></div><br>Part of my problem was that I was trying to use syslog on log-client and syslog-ng on log-server; not sure I (yet) know of any reason why this wouldn&#39;t work, but the point is, I got it working well enough to know that the twisted stuff is working as expected.<br>

<br>So with syslog-ng on log-clients, all sending to a central log server over udp, listening w/ twisted - the possibilities are endless!<br><br>Cheers,<br><br><br>Marc<br><br><br><br><div class="gmail_quote">On Sun, Oct 5, 2008 at 5:12 AM, HG <span dir="ltr">&lt;<a href="mailto:hackgou@gmail.com" target="_blank">hackgou@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div>I&#39;m interested with this.</div>
<div>any more progress?</div>
<div>thanks</div>
<div>HG<br><br></div>
<div class="gmail_quote"><div><div></div><div>On Mon, Sep 29, 2008 at 2:18 AM, Marc Byrd <span dir="ltr">&lt;<a href="mailto:dr.marc.byrd@gmail.com" target="_blank">dr.marc.byrd@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><div><div></div><div>
<div dir="ltr">Hi,<br><br>I would like to build a syslog(udp port 514) listener in twisted.&nbsp; The goal is to make it compatible with syslog and syslog-ng, which may be configured on a &quot;client&quot; to send log entries (as they occur) via udp (fire and forget) to a remote server (my twisted server).&nbsp; <br>


<br>Is there already something out there that would do this or that would be a good start?<br><br>Thanks,<br><br><br>Marc<br><br></div><br></div></div><div>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">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>


<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">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>
<br></blockquote></div><br>