Sunday, February 6, 2011

handle runtime exceptions in django view functions

Hi all,
How do I log exceptions to a file from view functions at runtime ?
I am using nginx (0.8.54) + uwsgi (0.9.6.7) + django(1.2.4) setup with python 2.7
the uwsgi doesnt seem to log any errors from the django views even when I use --logto option for uwsgi

pls let me know
thanks,
KM

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment