diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-11-17 09:49:39 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-11-17 09:49:39 +0000 |
commit | 79e0bbb3d773037371ff83563aba8ebdb20190e8 (patch) | |
tree | 35696c4aa2a33dd27e883d1a1bdc0c24f55aa9b6 /bin/bbackupd/BackupDaemon.h | |
parent | 55689249c942cd865c6da9ce27cb995cba4d1a7c (diff) |
Log the total number of bytes uploaded to the server for each file.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r-- | bin/bbackupd/BackupDaemon.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h index b41c6508..be37cd11 100644 --- a/bin/bbackupd/BackupDaemon.h +++ b/bin/bbackupd/BackupDaemon.h @@ -457,11 +457,13 @@ public: virtual void NotifyFileUploaded( const BackupClientDirectoryRecord* pDirRecord, const std::string& rLocalPath, - int64_t FileSize) + int64_t FileSize, int64_t UploadedSize) { if (mLogAllFileAccess) { - BOX_NOTICE("Uploaded file: " << rLocalPath); + BOX_NOTICE("Uploaded file: " << rLocalPath << ", " + "total size = " << FileSize << ", " + "uploaded size = " << UploadedSize); } } virtual void NotifyFileSynchronised( |