Awesome Open Source
Awesome Open Source

pm2-syslog

Redirect all logs of PM2 + Apps managed into /var/log/syslog

Configure OS

Edit /etc/rsyslog.conf and uncomment:

# provides UDP syslog reception
module(load="imudp")
input(type="imudp" port="514")

Restart rsyslog:

$ sudo service rsyslog restart

Install module

# Install
$ pm2 install pm2-syslog

# Uninstall
$ pm2 uninstall pm2-syslog

License

MIT


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,538,296
Module (2,777
Monitor (1,051
Pm2 (331
Syslog (255
Related Projects