pm2-hive / pm2-syslog

PM2 module to redirect application logs to syslog
41 stars 28 forks source link

Not working #3

Closed nodesocket closed 8 years ago

nodesocket commented 9 years ago

Don't think this is working.

Node 0.12.7

Still see healthy-out-1.log files being written, and nothing showing up in syslog via Papertrail.

Running pm2 logs shows:

pm2-syslog-2 { type: 'axm:monitor',
  data: { 'Loop delay': { value: '0.55ms', agg_type: 'avg' } } }
pm2-syslog-2 { type: 'axm:monitor',
  data: { 'Loop delay': { value: '0.55ms', agg_type: 'avg' } } }
healthy-0 [2015-07-31 23:07:38.647] "HTTP/1.1 GET http://52.8.106.214/health" 200 0.044
pm2-syslog-2 { type: 'axm:monitor',
  data: { 'Loop delay': { value: '0.55ms', agg_type: 'avg' } } }
montaro commented 9 years ago

+1

nodesocket commented 9 years ago

Really like to get this working, only core service that does not log to syslog for us.

adamsea commented 8 years ago

+1

Unitech commented 8 years ago

PR welcome, the module is 20 lines long

Unitech commented 8 years ago

Module fixed please refer to README.md