On 05/11/2011 09:57 AM, Venkatraman S wrote:

My response is more along the lines of performance gain - why not use asynchronous logging? I havent used logging extensively, but is the default logging scheme in scheme synchronous?

-V

This was already answered by a couple of people yesterday -- a clean easy solution is to use the process_exception middleware. I don't see any reason to get fancy with asynchronous processing. Threads are messy and Celery (which I use) wouldn't be a performance gain since I'd still have to make a synchronous call to put it in the queue which probably takes longer than a logging call.

Shawn


--
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