title: django logging - django.request logger and extra context
body: <p>Am on django 1.3., python 2.6</p>
  
  <p>In the django docs here<br>
  <a href="https://docs.djangoproject.com/en/1.3/topics/logging/#django-request">https://docs.djangoproject.com/en/1.3/topics/logging/#django-request</a><br>
  it says that messages have the following extra context: status and request.<br>
  How do you get these to show up in the debug file? i tried in my logging config something like:</p>
  
  <pre><code>'formatters': {        
          'simple_debug': {
              'format': '[%(asctime)s] %(levelname)s %(module)s %(message)s %(request.user)s',        
          }
      },
  </code></pre>
  
  <p>but that causes the overall logging to fail (i.e. no logging output happens)</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> 
  So immediately after submitting the question i came across this:
  <a href="http://groups.google.com/group/django-users/browse_thread/thread/af682beb1e4af7f6/ace3338348e92a21">http://groups.google.com/group/django-users/browse_thread/thread/af682beb1e4af7f6/ace3338348e92a21</a></p>
  
  <p>can someone help explain/elaborate on </p>
  
  <blockquote>
    <p>All the quote from the docs really means is that all the places inside
    of django where django.request is used, the request is explicitly
    passed in as part of extra.</p>
  </blockquote>
  
  <p>where is request explicitly passed in as part of extra to? </p>