django + fastcgi + lighttpd outlog and errlog not working
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm running a django app on lighttpd with fastcgi.
For debugging matters I would need the output logs that usually are displayed on the console.
Because I run my application in a daemonize mode I tried to use the outlog and errlog options but it did not work.
Here is the command I run:
python manage.py runfcgi method=threaded host=127.0.0.1 port=3033 workdir=/mydir/finderauto_dj/ outlog=out.log errlog=err.log
The out.log and err.log files are created but when I access my website, this should produce this kind of logs:
[03/Dec/2012 23:09:11] "GET /admin/recherches/alert/4/ HTTP/1.1" 200 11844
However, both out.log and err.log files remain empty.
Then I tried to use the daemonize=false option in order to have directly the output:
python manage.py runfcgi method=threaded host=127.0.0.1 port=3033 daemonize=false
I get nothing either...