Skip to content

pm2-hive/pm2-syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published