November 26, 2008

Pipe your log through a socket

The idea behind this hack is to log a syslog event, send to a fifo extension pipe, and through the use of socket client, send it to a server listening on a specific port. I decided to write my “log notification” server in C#, actually it was destined for a Windows machine, so I though “why not” :) So here it goes, in C# [sourcecode language=‘c#’] using System; using System.Collections.Generic; using System. ... Read more