Using this library you can easy implement your own syslog server that:
-
Can listen on multiple UDP ports and unix domain sockets.
-
Can pass parsed syslog messages to your own handlers so your code can analyze and respond for them.
See documentation and example server.