static void Main(string[] args) { System.Net.IPEndPoint ep = new System.Net.IPEndPoint(System.Net.IPAddress.Any, 4004); SyslogDaemon daemon = new SyslogDaemon(ep, Encoding.UTF8); IServerStatus istatus = (IServerStatus)daemon; ServerStatusLogger logger = new ServerStatusLogger(ref istatus, Encoding.UTF8); logger.LogEntryAdded += new EventHandler<Just.EventArguments.StringEventArgs>(logger_LogEntryAdded); daemon.StartReceiving(); Console.Read(); }