I have configured my Django app to run under Apache+FastCGI on Linux (Ubuntu, if it matters). My question is: how to redirect stdout to a file when running Django as fastcgi.
EDIT To clarify: I am familiar with django-logging module and yes I am using it already. This is not what my question is about.
Say when I run Django from the console as
python manage.py runserver
I get all the requests, errors, etc shown in the console, which is stdout. However, when I run it as fastcgi under apache, where does stdout go?