Tech-Angels

TcpSyslog logger for rails

Weird enough, the default syslog librairy (ie: Syslog) doesn’t allow to sent logs to a distant server. Instead, localhost must be used, and the local syslog server will forward the message to a central server.

Anyhow, in some cases, there’s no local syslog server, or you might have to send your messages directly to that central position. In the cloud, that’s a lot of syslog servers you won’t have to monitor.

Here it comes, you can find the TcpSyslog for rails here. It was inspired from SyslogLogger and ActiveSupport::BufferedLogger. In fact, TcpSyslog will act exactly as a BufferedLogger, except messages are sent over TCP/IP (only for now) to syslog.

We’ll release a gem soon, stay tuned.


  1. dallas-hash reblogged this from tech-angels
  2. tech-angels posted this
blog comments powered by Disqus
To Tumblr, Love Metalab