Thanks for the answers.
I ended up writing a simple middleware that sticks a request id in thread
local (so not acceptable to django).
And then there's a logging.Filter that attaches the request_id to log
records. This works nicely with the settings.LOGGING configuration option.
Russell, I haven
Hi,
Is there an idiomatic way to tie messages from a single request together
with 1.3's new logging features? From the documentation it doesn't look like
there is. Something like what drlog does (
http://fairviewcomputing.com/blog/2008/03/05/django-request-logging/).
It seems like a standard thin