I’m configuring my server to run node.js as a daemon. I’ve setup Upstart to handle startup and shutdown of node, which works wonderfully. The next step is to make sure that node.js is restarted if it dies. A few of the guides have suggested using Monit (or Fugue) to monitor the process (in Monit’s case by doing an HTTP request to the server and waiting for a response).
I have an Opsworks stack with a Node.js Layer and Node.js Application. I’m wondering if anyone knows where on an ubuntu 14.04LTS instance the console logs from my application are being printed to. I know the opsworks uses monit to run my application but I’m not sure where its outputting the logs to.