pm2-syslog-logger

0.2.18 • Public • Published

pm2-syslog-logger

Output log of pm2 to syslog.
Previously, this was using the logger command, but it was modified to use POSIX system call.

Installation

Install pm2 module

pm2 module:install pm2-syslog-logger

Configure rsyslog

for example...

:programname, isequal, "chinachu-operator" -/var/log/chinachu.log
:programname, isequal, "chinachu-wui" -/var/log/chinachu.log
:programname, isequal, "mirakurun-server" -/var/log/mirakurun.log

Readme

Keywords

none

Package Sidebar

Install

npm i pm2-syslog-logger

Weekly Downloads

1,403

Version

0.2.18

License

MIT

Unpacked Size

3.84 kB

Total Files

7

Last publish

Collaborators

  • pooza