Posted on Wednesday March 13, 2013

UdpTraceListener - a UDP TraceListener compatible with log4net/log4j

This class is a TraceListener implementation that uses the log4j XML format and sends the XML to a UDP socket. This means you can configure a trace listener to send all your logs to something like There is also Harvester which has a TraceListener implementation for streaming over a network.


Just configure a new UDP receiver in log4console and they messages will start to stream through. This works nicely with LightSpeed, where you can configure it to send its SQL statements to a TraceListener.

Feel free to include the source wherever you need it, it’s under an MIT licence.