Winston is a popular logging library for NodeJS which allows you to customise the output, as well as different logging targets. This lesson covers configuring Winston to run with different levels depending on a Node environment variable as well as en…
In this lesson, you will learn how to configure node apps using pm2 and a json config file. Let's say there are tow node apps: app1, app2. What we want to do is create a json fie as config file for pm2. pm2.config.json: { "apps": [{ "name&q…