title: Log rotation in Rails DEVELOPMENT mode?
body: <p>For a Rails 3.1 (will be 3.2 very soon), I have exceptionally verbose logs that have a lot of additional worker information spewing forth into them.</p>
  
  <p>I routinely end up with multigigabyte <code>development.log</code> files.  I've seen some various chatter around about rotating production logs, however I've not found anything that seems applicable to <code>development.log</code> rotation.</p>
  
  <p><strong>How do you rotate your <code>development.log</code> at every <code>100.megabytes</code> or so?</strong>  OR WHAT I WOULD PREFER is to actually truncate the head of the file so that only the most recent items remain in the log, up to 100MB of the most recent entries.</p>
  
  <p>I have played with this a little and am thinking more and more than nothing quite like this exists at present and that perhaps I should implement something that will use the ruby <code>File.truncate</code> somehow, however I'm not sure of the efficacy of this yet on the tail end of the file as of yet.</p>