title: How to print Django's runserver output to a file?
body: <p>when i develop my django app locally, i use <code>python manage.py runserver</code> and all errors messages (like Error 500 ...) are printed in the terminal.
  It is useful because it enables to put some <code>print</code>in the code and check the values of some variables.</p>
  
  <p>But when the app is executed via fastgci on a remote server i can't see those messages.
  Is there a way to output those errors in a file?
  Thanks</p>