title: logging attribute asctime generate local time
body: <p>I'm using logging for my project and the format is </p>
  
  <pre>
  'format': '%(asctime)s %(message)s'
  </pre>
  
  <p>however, the time didn't equal to my local time. e.g</p>
  
  <p>2013-01-08 11:04:07,383 message
  (this is UTC-6 time)</p>
  
  <p>I want to know </p>
  
  <ol>
  <li>how to log using my local time </li>
  <li>how to change time format to 2013-01-08 11:04:07</li>
  </ol>
  
  <hr>
  
  <p>I have fixed it , the problem is that I need to set the  time zone in setting.py !!!</p>