Skip to content

Commit

Permalink
SyncRunFileLog: Add the requestid
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed May 15, 2018
1 parent e7e8a62 commit fabc706
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/gui/syncrunfilelog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,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);
Expand Down Expand Up @@ -164,9 +163,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;
}
Expand Down

0 comments on commit fabc706

Please sign in to comment.