./sysutils/ruby-syslog-logger, Improved Logger replacement that logs to syslog

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q1, Version: 1.6.8, Package name: ruby26-syslog-logger-1.6.8, Maintainer: pkgsrc-users

Logger::Syslog is a Logger replacement that logs to syslog. It is almost drop-in
with a few caveats. You can add Logger::Syslog to your Rails production
environment to aggregate logs between multiple machines.

NOTE! You can only set the Logger::Syslog program name and facility when you initialize
Logger::Syslog for the first time. This is a limitation of the way Logger::Syslog
uses syslog (and in some ways, a limitation of the way syslog(3) works).
Attempts to change Logger::Syslog's program name or facility after the first initialization
will be ignored.

This particular Logger::Syslog improves the original by correctly mapping Rails log severities to
the Syslog counterparts. It also adds the ability to select a syslog facility other than "user."


Master sites:

SHA1: 9b5873533bfedaac7a8c1dc1865dd4c43ea13619
RMD160: a292df72ae85c5d796cbdd25e5f16cf5b6e2b96b
Filesize: 9 KB

Version history: (Expand)