Created
April 24, 2014 11:06
-
-
Save yuxel/11250542 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var graylog2 = require("graylog2"); | |
var logger = new graylog2.graylog({ | |
servers: [ | |
{ 'host': 127.0.0.1, port: 12201 }, | |
{ 'host': 127.0.0.2, port: 12201 } | |
], | |
hostname: 'server.name', // the name of this host | |
facility: 'Node.js', // the facility for these log messages | |
bufferSize: 1350 // max UDP packet size, should never exceed the | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment