-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path with query string #66
Comments
Thanks, that's a good suggestion. I'm not sure if we can just make the change, because some people might be relying on the current behaviour, and sometimes query strings can be very long. Maybe we could add a setting |
This could be a rabbit hole. It starts with full path, then maybe we need headers somewhere (paging anyone?) and maybe response data, and maybe body (or certain parts of it). We are doing like this:
Then if/when anything happens, it is easy to spot on the analytics stream, and further investigation only needs a token request_id. |
@alexche-cchange thanks for the comment. I think you're in agreement, the suggestion here is to log the query string in the |
Hi,
First of all, I appreciate this package.
I'd like to try this package in my project, so I wonder if you could help me out.
I hope the path of the message is also displayed as a query string.
I mean, I hope request.get_full_path() is used instead of request.path in the get_log_message function located in your RequestIDMiddleware class.
request.path is very inconvenient to know the exact url because it cuts all the paths behind '/?'.
Would that be possible?
The text was updated successfully, but these errors were encountered: