On Oct 6, 11:53 am, Russell Keith-Magee <[email protected]> wrote: > On Wed, Oct 6, 2010 at 6:46 PM, Luke Plant <[email protected]> wrote: > > On Wed, 2010-10-06 at 12:24 +0800, Russell Keith-Magee wrote:
There are other possibilities. For example, you could use a Filter to add contextual information to the log, as in this example: http://docs.python.org/dev/library/logging.html#using-filters-to-impart-contextual-information Filters can be added to loggers, but they only operate on the logger they're attached to, and not ancestor loggers. So they might need to be added to several Django loggers, not just the 'django' logger. Regards, Vinay Sajip -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
