Saturday, May 17, 2014 Sending logs to a file

It's quite simple to send the console messages from to a file. I followed this tutorial ( and the steps are:

1) Install winston
2) Configure the logger output file
3) Link the logger to using this code:

 var io = require('').listen(server, {
      logger : logger

No comments: