title: Django "./manage.py runserver" log to file instead of console
body: <p>Running <code>python manage.py runserver</code> will initiate Django's development server and all logs are printed to the console.</p>
  
  <p>I need to write the logs in a <code>django.log</code> file instead of console.</p>
  
  <p><a href="https://docs.djangoproject.com/en/1.10/topics/logging/" rel="noreferrer">Django logging documentation</a> is good, but I cant seem to configure the logging to log the same as <code>python manage.py runserver</code>.</p>
  
  <p><strong>Question:</strong> How can I log everything from <code>./manage.py runserver</code> to a file?</p>