-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Send a unique X-Request-ID header to allow tracing requests in apache and owncloud logs #2055
Comments
Client log only works if Android app is built with debug option, for example the beta builds in Play Store ad F-Droid (available in ownBrander too). |
I've just implemented this within the network library replacement branch, commit cd60d63 |
cool, awesome! |
i'd use UUID notation (as in new iOS app) for each request (32 hexadecimal digits: 8 + 4 + 4 + 4 + 12). I think it is a bit cleaner than using any character and any length between 20 and 200. For logs in debug, including the id + method is enough info from my pov to debug-track issues |
I think it was UUID v4 |
owncloud/core#28144 has been merged. It will use the value of a
X-Request-ID
header as the request id in log files to allow linking events on the client to events in the apache and owncloud logs.[a-zA-Z0-9-+/_=.:]
allowedX-Request-ID
header on every requestThe text was updated successfully, but these errors were encountered: