Reputation: 3847
I would like to create logs to a Syslog Server (Kiwi Syslog Server, to be more precise) from ruby.
I don't want to log ruby or rails stuff to the syslog server. I want to create a pre-define log message when an event occurrs and log this to a remote server using their Kiwi Syslog Server.
Any clue on how to do that? (I'm using ruby 1.8.7 and rails 2.3.14)
Upvotes: 0
Views: 1678
Reputation: 28554
Ruby has a built in Syslog module you can use directly to write messages.
Upvotes: 1