Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A log4js log appender to push logs into AMQP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Makefile
README.md
index.js
nodelintconfig.js
package.json

README.md

log4js-amqp

log4js-amqp is a log4js log appender to push log messages into AMQP

Installation

You can install install log4js-amqp via npm:

npm install log4js-amqp

Usage

var Log4js = require('log4js')();
var Log4jsAmqp = require('log4js-amqp');

Log4js.addAppender(Log4jsAmqp.createAppender({
    host: 'yourhostname',
    login: 'yourlogin',
    password: 'yourpassword',
    exchange: 'yourexchange'
  })
);

var log = Log4js.getLogger('unittest');

log.debug('debuglog');
log.info('infolog');
Something went wrong with that request. Please try again.