Check out http://docs.python.org/library/logging.html for logging.
There's also some Django logging middleware floating around that might
be useful -- just Google for it.

On Jan 27, 11:45 am, defone <d3f...@gmail.com> wrote:
> Hi,
>
> I'm seeing occasionally bug that is causing an infinite loop. What is
> the best way to debug these in production environment? I was thinking
> that why there is no built-in simple profiler in Django, just for
> example to log how much time it takes to e.g. render each view?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to