0.0.2 • Published 10 years ago

sol-redis-syslog v0.0.2

Weekly downloads
12
License
-
Repository
github
Last release
10 years ago

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
0.0.2

10 years ago

0.0.1

10 years ago