-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Add X-Request-Id in request to QGIS Server headers #5185
Conversation
Wait for #5206 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition
Note: Py-qgis-server for now, does not take into account x-requesti-id but qjazz does. Nevertheless, this is a good idea to set it in all cases. |
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release_3_7 release_3_7
# Navigate to the new working tree
cd .worktrees/backport-release_3_7
# Create a new branch
git switch --create backport-5185-to-release_3_7
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 650911ae4b2ce64d7019105b87d8d12ff4fa8444,7bf80e06715d822a0e24ef078988d5fba4f3e5a1,61871ce01832ff42a824a0fccaf61bbf97588037,eff786c0aba343ad5b175faa3461bec35e001111,148b8dc801b22e5fd042ba1c67dd5b7124a47817,2ada8d1185bc75348d2e8c12088df3b4a77c4d34
# Push it to GitHub
git push --set-upstream origin backport-5185-to-release_3_7
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release_3_7 Then, create a pull request where the |
X-Request-Id
correlates HTTP requests between a client and server. It will help to correlate logs between Lizmap Web client and QGIS Server.X-Request-Id
is supported by Py-QGIS-Server.