Re: Adding additional logging to Django application

2006-03-19 Thread [EMAIL PROTECTED]
Thanks ned - just what I needed! --~--~-~--~~~---~--~~ 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

Re: Adding additional logging to Django application

2006-03-19 Thread Ned Batchelder
This is the sort of thing that can be done at the top level of the module, so it is executed once per process, rather than once per request. --Ned. [EMAIL PROTECTED] wrote: > I've been adding additional logging to my django application by > dropping in calls in the views.py. However, I'm concer

Adding additional logging to Django application

2006-03-19 Thread [EMAIL PROTECTED]
I've been adding additional logging to my django application by dropping in calls in the views.py. However, I'm concerned that I've really overdoing it with setting up a new logging instance on each call. Right now, I've have the following code in each view that wants to log: ll=logging.getL