A symptom has just developed on our production server
(Apache/mod_python/Python 2.3).

Sporadically, a 'print' statement (used for logging during development)
will fail with the following error:

exceptions.IOError
[Errno 9] Bad file descriptor

In Django development, 'print' statements go to the console.  I don't
know where the print statements are going to under mod_python, though.
I'm sure the end solution is to use a better logging mechanism but I'm
really curious why a print statement would crash the app with the error
above.

It's especially odd that this only happens every hundred requests or so.

Thanks for helping!
-- Joel

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to