Add ruby-syslog-logger package version 1.6.8.
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."
This commit is contained in:
parent
732e7ced6d
commit
4dbb23e637
4 changed files with 36 additions and 0 deletions
12
sysutils/ruby-syslog-logger/DESCR
Normal file
12
sysutils/ruby-syslog-logger/DESCR
Normal file
|
@ -0,0 +1,12 @@
|
|||
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."
|
12
sysutils/ruby-syslog-logger/Makefile
Normal file
12
sysutils/ruby-syslog-logger/Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD: Makefile,v 1.1 2017/06/10 16:08:06 taca Exp $
|
||||
|
||||
DISTNAME= syslog-logger-1.6.8
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/ngmoco/syslog_logger
|
||||
COMMENT= Improved Logger replacement that logs to syslog
|
||||
LICENSE= mit
|
||||
|
||||
.include "../../lang/ruby/gem.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
6
sysutils/ruby-syslog-logger/PLIST
Normal file
6
sysutils/ruby-syslog-logger/PLIST
Normal file
|
@ -0,0 +1,6 @@
|
|||
${GEM_HOME}/cache/${GEM_NAME}.gem
|
||||
${GEM_LIBDIR}/README.rdoc
|
||||
${GEM_LIBDIR}/lib/syslog-formatter.rb
|
||||
${GEM_LIBDIR}/lib/syslog-logger.rb
|
||||
${GEM_LIBDIR}/test/test_syslog_logger.rb
|
||||
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|
6
sysutils/ruby-syslog-logger/distinfo
Normal file
6
sysutils/ruby-syslog-logger/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2017/06/10 16:08:06 taca Exp $
|
||||
|
||||
SHA1 (syslog-logger-1.6.8.gem) = 9b5873533bfedaac7a8c1dc1865dd4c43ea13619
|
||||
RMD160 (syslog-logger-1.6.8.gem) = a292df72ae85c5d796cbdd25e5f16cf5b6e2b96b
|
||||
SHA512 (syslog-logger-1.6.8.gem) = e7bff30d61925fc53e0a4c01d723f5da4bce5dc87b7f62a22f805be4955239c75f1208d334e07f42fbbc15ea2ccc5950b5333cd00b085566942d6e931092dce8
|
||||
Size (syslog-logger-1.6.8.gem) = 9216 bytes
|
Loading…
Reference in a new issue