No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A node.js client wrapper for


	$ [sudo] npm install loggly

##Usage Using the EALoggly wrapper is simple. Just pull the ealogger.js file from the github repo and drop it in the same folder as your node.js application.

###Configuration Next, you need to add some configuration information in order to ensure your log data goes to the correct input. You do this by modifying the JSON for the config variable at the top of the ealogger.js file.

var config = {
  "subdomain": "your-loggly-domain",
  "user": "loggly-user-name",
  "password": "loggly-password",

If you have any questions about these values please see the documentation at [] (


Using the logger is simple. First you need to require the ealogger.js module.

var logger = require('./ealogger');

Note: The above code assumes the ealogger.js file is in the same folder as the .js file you want to log from. If it's not, adjust your path accordingly.

Now that everything is configured, logging is as simple as:

logger.log('info', 'myMachine', 'Entering the write method');

The parameter info for the log method is as follows:

logger.log(logLevel, machineName, logMessage)

Using one of the following 5 log levels makes it easier to isolate your log messages on the companion EALoggly site:
info, debug, warn, error, fatal


That's pretty much it. Have any questions? email me