[Box Backup-commit] COMMIT r1443 - box/chris/general/lib/server

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Mar 24 14:39:50 GMT 2007


Author: chris
Date: 2007-03-24 14:39:50 +0000 (Sat, 24 Mar 2007)
New Revision: 1443

Modified:
   box/chris/general/lib/server/Protocol.cpp
Log:
Use logging framework to remove "Send block allocation size" noise
for those who don't want it


Modified: box/chris/general/lib/server/Protocol.cpp
===================================================================
--- box/chris/general/lib/server/Protocol.cpp	2007-03-24 14:39:08 UTC (rev 1442)
+++ box/chris/general/lib/server/Protocol.cpp	2007-03-24 14:39:50 UTC (rev 1443)
@@ -22,6 +22,7 @@
 #include "ServerException.h"
 #include "PartialReadStream.h"
 #include "ProtocolUncertainStream.h"
+#include "Logging.h"
 
 #include "MemLeakFindOn.h"
 
@@ -55,7 +56,8 @@
 	  mLastErrorType(NoError),
 	  mLastErrorSubType(NoError)
 {
-	TRACE1("Send block allocation size is %d\n", PROTOCOL_ALLOCATE_SEND_BLOCK_CHUNK);
+	BOX_TRACE("Send block allocation size is " << 
+		PROTOCOL_ALLOCATE_SEND_BLOCK_CHUNK);
 }
 
 // --------------------------------------------------------------------------




More information about the Boxbackup-commit mailing list