diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2011-10-31 12:44:19 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2011-10-31 12:44:19 +0000 |
| commit | 7d103d11496928583df900fcd463c8aea86fc2af (patch) | |
| tree | 318c823489a2dc2f3a4aba38e3ff888db8d3a35e /cpp/src/qpid/sys | |
| parent | dfc6735ed4403ada83bfbf6be12bc5b51f503077 (diff) | |
| download | qpid-python-7d103d11496928583df900fcd463c8aea86fc2af.tar.gz | |
NO_JIRA: Small mods to certain log trace and debug messages to improve log message consistency
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1195433 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys')
| -rw-r--r-- | cpp/src/qpid/sys/AsynchIOHandler.cpp | 4 | ||||
| -rw-r--r-- | cpp/src/qpid/sys/RdmaIOPlugin.cpp | 4 | ||||
| -rw-r--r-- | cpp/src/qpid/sys/ssl/SslHandler.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/qpid/sys/AsynchIOHandler.cpp b/cpp/src/qpid/sys/AsynchIOHandler.cpp index 30a87d9d44..5233002850 100644 --- a/cpp/src/qpid/sys/AsynchIOHandler.cpp +++ b/cpp/src/qpid/sys/AsynchIOHandler.cpp @@ -68,7 +68,7 @@ void AsynchIOHandler::init(AsynchIO* a, int numBuffs) { void AsynchIOHandler::write(const framing::ProtocolInitiation& data) { - QPID_LOG(debug, "SENT [" << identifier << "] INIT(" << data << ")"); + QPID_LOG(debug, "SENT [" << identifier << "]: INIT(" << data << ")"); AsynchIO::BufferBase* buff = aio->getQueuedBuffer(); if (!buff) buff = new Buff; @@ -143,7 +143,7 @@ void AsynchIOHandler::readbuff(AsynchIO& , AsynchIO::BufferBase* buff) { framing::ProtocolInitiation protocolInit; if (protocolInit.decode(in)) { decoded = in.getPosition(); - QPID_LOG(debug, "RECV [" << identifier << "] INIT(" << protocolInit << ")"); + QPID_LOG(debug, "RECV [" << identifier << "]: INIT(" << protocolInit << ")"); try { codec = factory->create(protocolInit.getVersion(), *this, identifier, SecuritySettings()); if (!codec) { diff --git a/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/cpp/src/qpid/sys/RdmaIOPlugin.cpp index 6769e5383c..b491d28d0a 100644 --- a/cpp/src/qpid/sys/RdmaIOPlugin.cpp +++ b/cpp/src/qpid/sys/RdmaIOPlugin.cpp @@ -114,7 +114,7 @@ void RdmaIOHandler::start(Poller::shared_ptr poller) { void RdmaIOHandler::write(const framing::ProtocolInitiation& data) { - QPID_LOG(debug, "Rdma: SENT [" << identifier << "] INIT(" << data << ")"); + QPID_LOG(debug, "Rdma: SENT [" << identifier << "]: INIT(" << data << ")"); Rdma::Buffer* buff = aio->getSendBuffer(); assert(buff); framing::Buffer out(buff->bytes(), buff->byteCount()); @@ -229,7 +229,7 @@ void RdmaIOHandler::initProtocolIn(Rdma::Buffer* buff) { framing::Buffer in(buff->bytes(), buff->dataCount()); framing::ProtocolInitiation protocolInit; if (protocolInit.decode(in)) { - QPID_LOG(debug, "Rdma: RECV [" << identifier << "] INIT(" << protocolInit << ")"); + QPID_LOG(debug, "Rdma: RECV [" << identifier << "]: INIT(" << protocolInit << ")"); codec = factory->create(protocolInit.getVersion(), *this, identifier, SecuritySettings()); diff --git a/cpp/src/qpid/sys/ssl/SslHandler.cpp b/cpp/src/qpid/sys/ssl/SslHandler.cpp index 5516d72065..67bf4ea893 100644 --- a/cpp/src/qpid/sys/ssl/SslHandler.cpp +++ b/cpp/src/qpid/sys/ssl/SslHandler.cpp @@ -69,7 +69,7 @@ void SslHandler::init(SslIO* a, int numBuffs) { void SslHandler::write(const framing::ProtocolInitiation& data) { - QPID_LOG(debug, "SENT [" << identifier << "] INIT(" << data << ")"); + QPID_LOG(debug, "SENT [" << identifier << "]: INIT(" << data << ")"); SslIO::BufferBase* buff = aio->getQueuedBuffer(); if (!buff) buff = new Buff; @@ -110,7 +110,7 @@ void SslHandler::readbuff(SslIO& , SslIO::BufferBase* buff) { framing::ProtocolInitiation protocolInit; if (protocolInit.decode(in)) { decoded = in.getPosition(); - QPID_LOG(debug, "RECV [" << identifier << "] INIT(" << protocolInit << ")"); + QPID_LOG(debug, "RECV [" << identifier << "]: INIT(" << protocolInit << ")"); try { codec = factory->create(protocolInit.getVersion(), *this, identifier, getSecuritySettings(aio)); if (!codec) { |
