cpm-master

0.0.9 • Public • Published

This is a pm2 module. It can collect all of the logs on the cloud server through cpm-worker.

Must tie in with the cpm-worker

Quick Start

##Install

$ pm2 install cpm-master

##Configure

  • address : the address will receive the logs from the cloud node.
  • log_path : Log file storage path. Supported format specifiers: APPNAME
  • max_size : The maximum length of a single log file.

e.g:

$ pm2 set cpm-worker:address 0.0.0.0:3000
$ pm2 set cpm-worker:log_path /runtimelog/app
$ pm2 set cpm-worker:log_path /runtimelog/app/{APPNAME}
$ pm2 set cpm-worker:max_size 10M

##Future

Readme

Keywords

Package Sidebar

Install

npm i cpm-master

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

9.81 kB

Total Files

5

Last publish

Collaborators

  • maconhan