Re: Django in runfcgi mode does not have log even is daemonize=false

2008-12-30 Thread Alex Koshelev
How do you put messages to log?


On Tue, Dec 30, 2008 at 7:08 AM, CG  wrote:

>
> Hi, all I am using Django 1.02 + lighttpd , and I run my django app in
> fastCGI mode using the following
>
>  runfcgi method=prefork socket=/tmp/socket.sock
> pidfile=/var/run/process.pid outlog=/var/log/lighttpd/out.log
>
> out.log is created but there is nothing inside.
>
> Later , I try with  daemonize=false, which suppose to be helpful in
> debugging
>
>  runfcgi daemonize=false method=prefork socket=/tmp/socket.sock
> pidfile=/var/run/process.pid
>
> However, even it run as foreground , it does not output anything on screen
> also.
>
>
> I have searched through the Google , and found not much info about
> this. Anybody can help ?
>
> Thanks.
>
> CG
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django in runfcgi mode does not have log even is daemonize=false

2008-12-29 Thread CG

Hi, all I am using Django 1.02 + lighttpd , and I run my django app in
fastCGI mode using the following

 runfcgi method=prefork socket=/tmp/socket.sock
pidfile=/var/run/process.pid outlog=/var/log/lighttpd/out.log

out.log is created but there is nothing inside.

Later , I try with  daemonize=false, which suppose to be helpful in debugging

 runfcgi daemonize=false method=prefork socket=/tmp/socket.sock
pidfile=/var/run/process.pid

However, even it run as foreground , it does not output anything on screen also.


I have searched through the Google , and found not much info about
this. Anybody can help ?

Thanks.

CG

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---