Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Node's "forever" log to syslog

Tags:

node.js

syslog

I'm creating a small server using Node.js that I want to keep running with forever. Forever generates three logfiles: my apps STDOUT, STDERR and the log of forever itself.

Is there a way to make forever log to syslog instead of to logfiles? Either using forever from the commandline or using its API?

like image 319
Sander Marechal Avatar asked May 23 '26 16:05

Sander Marechal


1 Answers

Try Up https://github.com/LearnBoost/up and use the Unix API to log...

like image 197
dzajdband Avatar answered May 26 '26 06:05

dzajdband