title: Winston: how to rotate logs
body: <p>How can I rotate logs when using Winston to handle logging for node.js. That is, how can I create a new file for each day the app runs?</p>
  
  <pre><code>    var logger = new (winston.Logger)({
         transports: [
            new (winston.transports.Console)(),
            new (winston.transports.File)({ filename: '2012-07-09.log' })
        ]
  });
  
  logger.log('info', 'Test Log Message', { anything: 'This is metadata' });
  </code></pre>