title: TimedRotatingFileHandler Changing File Name?
body: <p>I am trying to implement the python logging handler <code>TimedRotatingFileHandler</code>.</p>
  <p>When it rolls over to midnight it appends the current day in the form <code>YYYY-MM-DD</code>.</p>
  <pre><code>LOGGING_MSG_FORMAT  = '%(name)-14s &gt; [%(levelname)s] [%(asctime)s] : %(message)s'
  LOGGING_DATE_FORMAT = '%Y-%m-%d %H:%M:%S'
  
  logging.basicConfig(
              level=logging.DEBUG,
              format=LOGGING_MSG_FORMAT,
              datefmt=LOGGING_DATE_FORMAT
              )
  root_logger = logging.getLogger('')
  logger = logging.handlers.TimedRotatingFileHandler(&quot;C:\\logs\\Rotate_Test&quot;,'midnight',1)
  root_logger.addHandler(logger)
  while True:
      daemon_logger = logging.getLogger('TEST')
      daemon_logger.info(&quot;SDFKLDSKLFFJKLSDD&quot;)
      time.sleep(60)
  </code></pre>
  <p>The first log file created is named <code>Rotate_Test</code>, then once it rolls over to the next day it changes the file name to <code>Rotate_Test.YYYY-MM-DD</code> where <code>YYYY-MM-DD</code> is the current day.</p>
  <p>How can I change how it alters the filename?</p>