Skip to content

jim-phillips/clc-papertrail-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

papertrail-node

Redirect node server side logging to papertrail. This will send all console output to your papertrail application. Console logging is also disabled.

Environment variables required

  • NODE_ENV of 'production', 'staging', or 'dev'
  • PAPERTRAIL_HOST
  • PAPERTRAIL_PORT.

The host and port must be set up with an account in papertrail

Installation

npm install --save git+https://git@github.com/jim-phillips/clc-papertrail-logging.git

Usage

require('clc-papertrail-logging');

All subsequent console output will be redirected to papertrail.

About

Enable logging to papertrail

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors