title: Log Rotation in Node.js?
body: <p>In my web analytics, I am logging the data in plain text file. I want to rotate the log on a daily basis because its logging too much data. Currently I am using <a href="https://github.com/trentm/node-bunyan#stream-type-rotating-file" rel="noreferrer">bunyan</a> to rotate the logs.</p>
  
  <p><strong>Problem I am facing</strong></p>
  
  <p>It is rotating the file correctly, but rotated log file are in the name <code>log.0</code>, <code>log.1</code>, etc. I want the file name to be <code>log.05-08-2013</code>, <code>log.04-08-2013</code></p>
  
  <p>I can't edit the source of the <code>bunyan</code>package because we are installing the modules using <code>package.json</code> via NPM.</p>
  
  <p>So my question is - Is there any other log rotation in Node.js that meets my requirement? </p>