title: Django log to file by date or hour
body: <p>I know django can log to one file, but I want know how to print to different files in diff times. File name like <code>20150101.log</code> <code>20150102.log</code>.</p>
  
  <p>Two questions:</p>
  
  <ol>
  <li>Can I implement this by <code>LOGGING-&gt;filename</code> config ?   </li>
  <li>if Q1 can't, How can I dynamic change <code>handlers</code> ?</li>
  </ol>
  
  <hr>
  
  <p>In other words, <strong>How can I make django split file not by filesize but by datetime.</strong></p>