From 33edbe909fcbb4bd4b8beca378432aa651187da2 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 9 Feb 2011 01:10:51 +0000 Subject: QPID-3046 - Improved detail in trace log messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068719 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qmf/AgentSession.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/qmf/AgentSession.cpp') diff --git a/cpp/src/qmf/AgentSession.cpp b/cpp/src/qmf/AgentSession.cpp index 30176a8c01..4c5a72a467 100644 --- a/cpp/src/qmf/AgentSession.cpp +++ b/cpp/src/qmf/AgentSession.cpp @@ -571,7 +571,7 @@ void AgentSessionImpl::raiseEvent(const Data& data, int severity) encode(list, msg); topicSender.send(msg); - QPID_LOG(trace, "SENT EventIndication to=" << subject); + QPID_LOG(trace, "SENT EventIndication to=" << topicSender.getName() << "/" << subject); } @@ -625,7 +625,7 @@ void AgentSessionImpl::setAgentName() void AgentSessionImpl::handleLocateRequest(const Variant::List& predicate, const Message& msg) { - QPID_LOG(trace, "RCVD AgentLocateRequest"); + QPID_LOG(trace, "RCVD AgentLocateRequest from=" << msg.getReplyTo()); if (!predicate.empty()) { Query agentQuery(QUERY_OBJECT); @@ -659,7 +659,7 @@ void AgentSessionImpl::handleLocateRequest(const Variant::List& predicate, const void AgentSessionImpl::handleMethodRequest(const Variant::Map& content, const Message& msg) { - QPID_LOG(trace, "RCVD MethodRequest map=" << content << " from=" << msg.getReplyTo()); + QPID_LOG(trace, "RCVD MethodRequest map=" << content << " from=" << msg.getReplyTo() << " cid=" << msg.getCorrelationId()); // // Construct an AgentEvent to be sent to the application. @@ -719,7 +719,7 @@ void AgentSessionImpl::handleMethodRequest(const Variant::Map& content, const Me void AgentSessionImpl::handleQueryRequest(const Variant::Map& content, const Message& msg) { - QPID_LOG(trace, "RCVD QueryRequest query=" << content << " from=" << msg.getReplyTo()); + QPID_LOG(trace, "RCVD QueryRequest query=" << content << " from=" << msg.getReplyTo() << " cid=" << msg.getCorrelationId()); // // Construct an AgentEvent to be sent to the application or directly handled by the agent. -- cgit v1.2.1