Where does forever store console.log output?

AGamePlayer picture AGamePlayer · Jan 9, 2014 · Viewed 103.5k times · Source

I installed forever and am using it, finding it quite funny.

But I realized that the logs are placed to somewhere else. Is there any tips?

Answer

bryanmac picture bryanmac · Jan 9, 2014

Forever takes command line options for output:

-l  LOGFILE      Logs the forever output to LOGFILE
-o  OUTFILE      Logs stdout from child script to OUTFILE
-e  ERRFILE      Logs stderr from child script to ERRFILE

For example:

forever start -o out.log -e err.log my-script.js

See here for more info