title: Simple Log to File example for django 1.3+
body: <p>The release notes say:</p>
  
  <blockquote>
    <p>Django 1.3 adds framework-level
    support for Python’s logging module.</p>
  </blockquote>
  
  <p>That's nice. I'd like to take advantage of that.  Unfortunately <a href="http://docs.djangoproject.com/en/1.11/topics/logging/" rel="noreferrer">the documentation</a> doesn't hand it all to me on a silver platter in the form of complete working example code which demonstrates how simple and valuable this is.</p>
  
  <p>How do I set up this funky new feature such that I can pepper my code with</p>
  
  <pre><code>logging.debug('really awesome stuff dude: %s' % somevar)
  </code></pre>
  
  <p>and see the file "/tmp/application.log" fill up with</p>
  
  <pre><code>18:31:59 Apr 21 2011 awesome stuff dude: foobar
  18:32:00 Apr 21 2011 awesome stuff dude: foobar
  18:32:01 Apr 21 2011 awesome stuff dude: foobar
  </code></pre>
  
  <p>What's the difference between the default Python logging and this 'framework-level support'?</p>