syslog support for Windows builds
From: dragon (IPTIA)
I'm running Synchronet on Windows. I have most of my other services on dozens of machines sending log data to a central Windows syslog server. I would LOVE to get Synchronet to do that as well. Possible?
Currently I'm using a syslog server my buddy and I wrote in Perl. I've used free and commercial Syslog servers for Windows as well. None of those were open source, which is what prompted creating our own.
I have several closed souced commercial Windows applications, as well as numerous Perl applicationes we wrote sending to syslog.
The Perl syslog server is format agnostic and can deal with IETF or BSD format. I actually run 2 instances, one for each. Only one application currently uses BSD format.
If you're looking for example code for sending messages, the Perl Net::Syslog module has it all and is pretty small.
xpdev wrappers for openlog() syslog() seems doable with some additional configuration/connection function (and probably global variable(s) to track the configuration/state). That'd enable sbbs.exe to send to a syslog server. And then add some syslog options to sbbsntsvcs and sbbsctrl.