This package has been deprecated

Author message:

This package is no longer supported, use at your own risk.

sol-redis-syslog

0.0.2 • Public • Published

sol-redis-syslog

A module to listen in on Redis channels and log the messages to SYSLOG.

Install

npm install sol-redis-syslog

Usage

var Logger = require("sol-redis-syslog");

// Listen to multiple channels on redis server for messages.
var channels = [
	"SYSLOG_INFO",
	"SYSLOG_DEMO"
];
var facility = Logger.FACILITY.syslog;
var severity = Logger.SEVERITY.info;
var logger = new Logger.Logger({host: "127.0.0.1", port: 6379}, "example_logger", facility, severity, channels, false);

Severities

    debug
    info
    notice
    warning
    error
    crit
    alert
    emerg

Facilities

	kern
    user
    mail
    daemon
    auth
    syslog
    lpr
    news
    uucp
    local0
    local1
    local2
    local3
    local4
    local5
    local6
    local7

Readme

Keywords

Package Sidebar

Install

npm i sol-redis-syslog

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • solhive