Redirect all logs of PM2 + Apps managed into /var/log/syslog
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
$ pm2 install pm2-syslog
# Uninstall
$ pm2 uninstall pm2-syslog
MIT