dabapps / django-log-request-id

Django middleware and log filter to attach a unique ID to every log message generated as part of a request
BSD 2-Clause "Simplified" License
371 stars 64 forks source link

[Question] is it a common use case to use this with sentry? #60

Closed simkimsia closed 2 years ago

simkimsia commented 2 years ago

For production environments I mean

Would be great if there's documentation about using this with sentry if it's indeed a valid and common use case

j4mie commented 2 years ago

@simkimsia what do you mean exactly? This package is about logging rather than error reporting. Errors that end up in Sentry will already have a request ID attached, assuming the request ID is coming from an incoming HTTP header. Sorry if I've misunderstood the question!

simkimsia commented 2 years ago

Oh @j4mie no worries I think its all me

I could never get my head straight about logging and error reporting

Closing this

j4mie commented 2 years ago

No worries :) just shout if you have any more questions!