title: How do I change the way that the RotatingFileHandler names files in Python?
body: <p>I want to change the way that the rotating file handler names files.</p>
  
  <p>For example, if I use RotatingFileHandler, it separates the log file when it reaches a specific file size naming "log file name + extension numbering", like below.</p>
  
  <pre><code>filename.log      #first log file
  filename.log.1    #rotating log file1
  filename.log.2    #rotating log file2
  </code></pre>
  
  <p>However, I want the log handler to name them every time it is created.
  For example.</p>
  
  <pre><code>09-01-12-20.log    #first log file
  09-01-12-43.log    #rotating log file1
  09-01-15-00.log    #rotating log file2
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p><b>Edit:</b></p>
  
  <p>I am not asking how to create and name a file.</p>
  
  <p>I want to facilitate python <code>logging</code> package doing something like inheriting and overriding <code>logging</code>.</p>