diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 22:56:13 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 22:56:13 +0000 |
commit | e9f3450fb12f26b20ae06816a01fb9f78c613857 (patch) | |
tree | bdee945f8e986eaa1e7d019fc4b4c5801517be4c /lib/server | |
parent | bdb64683f2bb8279c91770869370a0717bb45098 (diff) |
Use logging framework to reduce noise for those who don't want it
(refs #3, merges [1439] [1440] [1443])
Diffstat (limited to 'lib/server')
-rw-r--r-- | lib/server/Protocol.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/server/Protocol.cpp b/lib/server/Protocol.cpp index 988d44c8..4398a58f 100644 --- a/lib/server/Protocol.cpp +++ b/lib/server/Protocol.cpp @@ -22,6 +22,7 @@ #include "ServerException.h" #include "PartialReadStream.h" #include "ProtocolUncertainStream.h" +#include "Logging.h" #include "MemLeakFindOn.h" @@ -55,7 +56,8 @@ Protocol::Protocol(IOStream &rStream) 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); } // -------------------------------------------------------------------------- |