title: sails logging to file
body: <p>Can someone provide an example of how to configure sails.js to log to a file?</p>
  
  <p>It seems like it should be straightforward, but I'm having trouble finding examples online.</p>
  
  <p>I'm looking at changes in the config/log.js or the config/sockets.js files.</p>