Description
PM2 module to forwards pm2 logs to papertrail. You will need to use your Host and Port.
Install
pm2 install wisdo/pm2-papertrail
Configure
-
port
: Your host retrieved from papertrailapp.com -
host
: Your port retrieved from papertrailapp.com -
hostname
: Partial name of your app (will append to hostname property)
How to set this value ?
After having installed the module you have to type :
pm2 set pm2-papertrail:host [your_host]
pm2 set pm2-papertrail:port [your_port]
pm2 set pm2-papertrail:hostname [app_name]
Uninstall
pm2 uninstall wisdo/pm2-papertrail