[Box Backup-commit] COMMIT r2982 - box/trunk/bin/bbstored

subversion at boxbackup.org subversion at boxbackup.org
Sat Aug 27 15:04:35 BST 2011


Author: chris
Date: 2011-08-27 15:04:34 +0100 (Sat, 27 Aug 2011)
New Revision: 2982

Modified:
   box/trunk/bin/bbstored/BackupStoreDaemon.cpp
Log:
Log net traffic (in-out) in bbstored, as requested by Pete Jalajas.


Modified: box/trunk/bin/bbstored/BackupStoreDaemon.cpp
===================================================================
--- box/trunk/bin/bbstored/BackupStoreDaemon.cpp	2011-08-27 13:41:36 UTC (rev 2981)
+++ box/trunk/bin/bbstored/BackupStoreDaemon.cpp	2011-08-27 14:04:34 UTC (rev 2982)
@@ -367,5 +367,6 @@
 	BOX_NOTICE("Connection statistics for " << commonName << ":"
 		" IN="  << s.GetBytesRead() <<
 		" OUT=" << s.GetBytesWritten() <<
+		" NET_IN=" << (s.GetBytesRead() - s.GetBytesWritten()) <<
 		" TOTAL=" << (s.GetBytesRead() + s.GetBytesWritten()));
 }




More information about the Boxbackup-commit mailing list