title: what's the difference between "when='D' " and "when='midnight'" for TimedRotatingFileHandler?
body: <p>What's the difference between <code>when='D'</code> and <code>when='midnight'</code> for <code>TimedRotatingFileHandler</code> in python logging module?<br>
  I can't get it from the official document.</p>