title: How to display date format using Python logging module
body: <p>I am trying to setup a format for logging in python:</p>
  
  <pre><code>import logging,logging.handlers
  FORMAT = "%(asctime)-15s %(message)s"
  logging.basicConfig(format=FORMAT,level=logging.INFO)
  logger = logging.getLogger("twitter")
  handler = logging.handlers.RotatingFileHandler('/var/log/twitter_search/message.log', maxBytes=1024000, backupCount=5)
  logger.addHandler(handler)
  </code></pre>
  
  <p>Basically, logging works, but without the date format...</p>