Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
No logging with lighttpd + fastcgi
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brian Victor  
View profile  
 More options Aug 2 2008, 11:58 am
From: Brian Victor <homeusen...@brianhv.org>
Date: Sat, 2 Aug 2008 08:58:40 -0700 (PDT)
Local: Sat, Aug 2 2008 11:58 am
Subject: No logging with lighttpd + fastcgi
When DEBUG is off in settings.py and I do something that causes an
error in my application, I can't find the traceback logged anywhere.

In my lighttpd.conf, server.errorlog and accesslog.filename are both
set, and the files are being used by the server.  When I run manage.py
runfcgi, I'm using the outlog and errlog parameters.  The files I
specify are getting created, but neither of them get tracebacks (or
anything else) placed in them.

What else do I need to do to have my tracebacks logged?  Thanks!

--
Brian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spacetaxi  
View profile  
 More options Aug 12 2008, 9:01 am
From: spacetaxi <spacet...@gmail.com>
Date: Tue, 12 Aug 2008 06:01:14 -0700 (PDT)
Local: Tues, Aug 12 2008 9:01 am
Subject: Re: No logging with lighttpd + fastcgi
On 2 Aug., 17:58, Brian Victor <homeusen...@brianhv.org> wrote:

> When DEBUG is off in settings.py and I do something that causes an
> error in my application, I can't find the traceback logged anywhere.

> In my lighttpd.conf, server.errorlog and accesslog.filename are both
> set, and the files are being used by the server.  When I run manage.py
> runfcgi, I'm using the outlog and errlog parameters.  The files I
> specify are getting created, but neither of them get tracebacks (or
> anything else) placed in them.

Hi Brian,

did you find a solution for this problem?

I'm experiencing the same problem with Apache2/FastCGI:
- No traceback is logged.
- No notification email is sent to the admins listed in
settings.ADMINS, when an error occurs. This *was* working some time
ago - and I didn't change any configuration relating to this stuff. I
only keep my django up-to-date with trunk...

Does anybody have a clue about what may be the cause for the described
problems? TIA!

-Stephan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spacetaxi  
View profile  
 More options Aug 12 2008, 9:22 am
From: spacetaxi <spacet...@gmail.com>
Date: Tue, 12 Aug 2008 06:22:32 -0700 (PDT)
Local: Tues, Aug 12 2008 9:22 am
Subject: Re: No logging with lighttpd + fastcgi
A little status update:

On 12 Aug., 15:01, spacetaxi <spacet...@gmail.com> wrote:

> I'm experiencing the same problem with Apache2/FastCGI:
> - No traceback is logged.

This problem still exists.

> - No notification email is sent to the admins listed in
> settings.ADMINS

This problem is solved. It had nothing to do with django but with our
mail server silently discarding some mails. So, sorry for suspecting
django for causing this problem!

But, I still need to fix the first problem...

-Stephan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Victor  
View profile  
 More options Aug 12 2008, 12:51 pm
From: Brian Victor <homeusen...@brianhv.org>
Date: Tue, 12 Aug 2008 09:51:58 -0700 (PDT)
Local: Tues, Aug 12 2008 12:51 pm
Subject: Re: No logging with lighttpd + fastcgi
To answer your question from your first response, no, I don't have a
solution for this yet.  I'm not even sure where to go from here.  (For
those listeners just joining us, the topic of conversation is a lack
of error messages and tracebacks in either the fastcgi or lighttpd log
files.)

That said,

On Aug 12, 9:22 am, spacetaxi <spacet...@gmail.com> wrote:

> > - No notification email is sent to the admins listed in
> > settings.ADMINS
> This problem is solved. It had nothing to do with django but with our
> mail server silently discarding some mails. So, sorry for suspecting
> django for causing this problem!

I didn't even realize this was a feature.  That may alleviate my need
somewhat, but it would still be nice to get logging working.  Thanks
for pointing it out!

--
Brian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
erny  
View profile  
 More options Sep 23 2008, 10:56 pm
From: erny <Ernesto.Revi...@gmail.com>
Date: Tue, 23 Sep 2008 19:56:29 -0700 (PDT)
Local: Tues, Sep 23 2008 10:56 pm
Subject: Re: No logging with lighttpd + fastcgi
This problem still exists with django-1.0.

I've been researching a bit:
http://code.djangoproject.com/changeset/7297
does some changes. It works if I comment out the os.dup2 lines, but
that may not be very robust. I'm using threaded model, not fork.

On 12 ago, 18:51, Brian Victor <homeusen...@brianhv.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »