pm2-syslog
v2.1.0
Published
Redirect PM2/apps logs to syslog
Downloads
7,894
Readme
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