concept monitoring in category javascript

This is an excerpt from Manning's book JavaScript Application Design: A Build First Approach.
Once a build process and architecture are designed, battle testing is where you’ll get drenched in reliability concerns. Here you’ll plumb together continuous integration, where tests are executed on every push to your version control system, and maybe even continuous deployments, making several deployments to production per day. Last, fault tolerance concerns such as logging, monitoring, and clustering are discussed. These are glanced over in chapter 4, and help make your production environment more robust, or (at worst) warn you when things go awry.
Heroku has a mechanism where it captures the standard output of your processes, so you can access it down the road. It also has add-ons to further extend that behavior. Heroku add-ons provide much-needed companion services such as databases, emailing, caching, monitoring, and other resources. Most logging add-ons would allow you to set up filtering and notifications; however, I’d advise against leveraging Heroku’s logging capabilities, as that would be too platform-specific, and it can severely limit your ability to migrate to another PaaS provider. Dealing with logging on your own isn’t that hard, and you’ll soon see the upside of doing so.