Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A gefling transport for winston
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Readme.md
package.json
winston-gelfling.coffee
winston-gelfling.js

Readme.md

winston-gelfling

A gelfling transport for winston. Inspired by winston-graylog2 transport.

Installation

Tested on node-0.6.x, requires npm.

  $ npm install winston-gelfling

Usage

  var winston = require('winston');
  winston.add(require('winston-gelfling').Gelfling, options);

Options are the following:

  • level: Level of messages this transport should log. (default: info)
  • silent: Boolean flag indicating whether to suppress output. (default: false)

  • graylogHost: IP address or hostname of the graylog2 server. (default: localhost)

  • graylogPort: Port to send messages to on the graylog2 server. (default: 12201)
  • graylogHostname: The hostname associated with graylog2 messages. (default: require('os').hostname())
  • graylogFacility: The graylog2 facility to send log messages.. (default: nodejs)
Something went wrong with that request. Please try again.