mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Merge pull request #201 from hannesa2/FixWrongUsed-OC_X_REQUEST_ID
fix a bug with wrong used OC_X_REQUEST_ID
This commit is contained in:
commit
b57212890c
@ -172,7 +172,7 @@ public class OwnCloudClient extends HttpClient {
|
|||||||
String requestId = RandomUtils.generateRandomUUID();
|
String requestId = RandomUtils.generateRandomUUID();
|
||||||
|
|
||||||
// Header to allow tracing requests in apache and ownCloud logs
|
// Header to allow tracing requests in apache and ownCloud logs
|
||||||
addHeaderForAllRequests(OC_X_REQUEST_ID, RandomUtils.generateRandomUUID());
|
addHeaderForAllRequests(OC_X_REQUEST_ID, requestId);
|
||||||
|
|
||||||
Log_OC.d(TAG, "Executing " + method.getClass().getSimpleName() + " in request with id " + requestId);
|
Log_OC.d(TAG, "Executing " + method.getClass().getSimpleName() + " in request with id " + requestId);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user