1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-08 00:16:09 +00:00

fix a bug with wrong used OC_X_REQUEST_ID

This commit is contained in:
Hannes Achleitner 2018-10-25 06:25:09 +02:00
parent d49814c195
commit c3cecfc7b9

View File

@ -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);
} }