Hi, On Sep 26, 2:55 pm, Russell Keith-Magee <[email protected]> wrote: > Yes, there is, and the logging calls I've included in the patch on > #12012 make use of it. All the logging calls take an 'extra' parameter > which can be used to insert relevant context into the logging call, > and can be used in a custom formatter. In all the logging calls > registering 4XX and 5XX messages, I've included the current request as > extra context.
I am aware of those; but let's imagine a 3rd party library which has no idea what a request is. In my logs I still want to know the request (even if it's just for formatting purposes…); so I am looking for a way to attach request specific info to __all__ logging calls done in one request __without__ adding it to the logging call. Florian -- 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.
