From a877a9d472696c749dafe86f75ec1151bc187b27 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 24 Apr 2018 13:22:59 +0200 Subject: [PATCH] SyncRunFileLog: Add the requestid https://github.com/owncloud/client/pull/6427#issuecomment-383879509 --- src/gui/syncrunfilelog.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/gui/syncrunfilelog.cpp b/src/gui/syncrunfilelog.cpp index e3b14d7d4..14250015e 100644 --- a/src/gui/syncrunfilelog.cpp +++ b/src/gui/syncrunfilelog.cpp @@ -145,8 +145,7 @@ void SyncRunFileLog::start(const QString &folderPath) // We are creating a new file, add the note. _out << "# timestamp | duration | file | instruction | dir | modtime | etag | " "size | fileId | status | errorString | http result code | " - "other size | other modtime | other etag | other fileId | " - "other instruction" + "other size | other modtime | X-Request-ID" << endl; FileSystem::setFileHidden(filename, true); @@ -191,9 +190,7 @@ void SyncRunFileLog::logItem(const SyncFileItem &item) _out << QString::number(item._httpErrorCode) << L; _out << QString::number(item._previousSize) << L; _out << QString::number(item._previousModtime) << L; - _out /* << other etag (removed) */ << L; - _out /* << other fileId (removed) */ << L; - _out /* << other instruction (removed) */ << L; + _out << item._requestId << L; _out << endl; }