Opened 12 years ago

Closed 12 years ago

#19424 closed Bug (invalid)

django + fastcgi + lighttpd outlog and errlog not working

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: 1.4
Severity: Normal Keywords: fastcgi lighttpd
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,

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...

Change History (1)

comment:1 by anonymous, 12 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top