Hello! I’ve already done a show & tell on this package before, but this is a complete rewrite to make it support Django3.1 (and Django3.2) with full ASGI and async support so I hope it’s okay to post again! Logs are great, but they are also often flooded. Django GUID allow you to attach a GUID to every log message that are triggered by a request.
Ever had a user of your Django website or API say “Hey, I got an error?” and wished they could give you an ID that you could find all log messages for? django-guid
allows you to return the GUID as a header, so you can display it to your end users on successful or failed requests. Or maybe had an exception logger and wanted to get all logs for that request? Well, with Django GUID you can do that.
Have a look at the extended example and try to do a CTRL
+ F
for 99d44111e9174c5a9494275aa7f28858
to see all logs connected to one of the incoming requests to my stack.
I’d also like to give a thanks to @andrewgodwin for good talks on async, answering mails and for explaining me concepts here on the forum. A huge thanks to @sondrelg as well for doing code reviews and rubber ducking with me.