Winston is a versatile logging library and a popular logging solution available for Node.js applications. Winston's features include support for multiple storage options, log levels, log queries, and a built-in profiler. In this tutorial, you will use Winston to log a Node/Express application that you'll create as part of this process. You'll also see how to combine Winston with Morgan, another popular HTTP request middleware logger for Node.js.
How To Use Winston to Log Node.js Applications on Ubuntu 20.04
How To Use Winston to Log Node.js Applications on Ubuntu 16.04