SyncRunFileLog: Add the requestid

https://github.com/owncloud/client/pull/6427#issuecomment-383879509
This commit is contained in:
Olivier Goffart 2018-04-24 13:22:59 +02:00 committed by Kevin Ottens
parent 09cacc4cd4
commit a877a9d472
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

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