pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ruby-syslog-logger Add ruby-syslog-logger pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c95ae187994
branches:  trunk
changeset: 363479:3c95ae187994
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Jun 10 16:08:06 2017 +0000

description:
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."

diffstat:

 sysutils/ruby-syslog-logger/DESCR    |  12 ++++++++++++
 sysutils/ruby-syslog-logger/Makefile |  12 ++++++++++++
 sysutils/ruby-syslog-logger/PLIST    |   6 ++++++
 sysutils/ruby-syslog-logger/distinfo |   6 ++++++
 4 files changed, 36 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r bdab8228fc69 -r 3c95ae187994 sysutils/ruby-syslog-logger/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ruby-syslog-logger/DESCR Sat Jun 10 16:08:06 2017 +0000
@@ -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."
diff -r bdab8228fc69 -r 3c95ae187994 sysutils/ruby-syslog-logger/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ruby-syslog-logger/Makefile      Sat Jun 10 16:08:06 2017 +0000
@@ -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@localhost
+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"
diff -r bdab8228fc69 -r 3c95ae187994 sysutils/ruby-syslog-logger/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ruby-syslog-logger/PLIST Sat Jun 10 16:08:06 2017 +0000
@@ -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
diff -r bdab8228fc69 -r 3c95ae187994 sysutils/ruby-syslog-logger/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ruby-syslog-logger/distinfo      Sat Jun 10 16:08:06 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index