lcguida
lcguida

Reputation: 3847

Log to remote syslog server with Ruby

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

Answers (1)

Chris Cherry
Chris Cherry

Reputation: 28554

Ruby has a built in Syslog module you can use directly to write messages.

1.9.3 1.8.7

Upvotes: 1

Related Questions