diff options
| author | Charles E. Rolke <chug@apache.org> | 2012-07-13 15:08:56 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2012-07-13 15:08:56 +0000 |
| commit | 6620183579be1eeffd8d07a5dc094c49c8379195 (patch) | |
| tree | 190d01186baa7a32fd1143b9c3cbf0a7d17a85d3 /cpp/src/qpid/broker/Connection.cpp | |
| parent | 8e13ae9cac2e0209ef49d05e064813b5b9f4f27c (diff) | |
| download | qpid-python-6620183579be1eeffd8d07a5dc094c49c8379195.tar.gz | |
QPID-4079 log entries track managed object life cycles
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1361262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index 85914b6b3a..8d250a32e5 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -143,6 +143,8 @@ Connection::~Connection() // a cluster-unsafe context. Don't raise an event in that case. if (!link && isClusterSafe()) agent->raiseEvent(_qmf::EventClientDisconnect(mgmtId, ConnectionState::getUserId())); + QPID_LOG_CAT(debug, model, "Delete connection. user:" << ConnectionState::getUserId() + << " rhost:" << mgmtId ); } broker.getConnectionObservers().closed(*this); @@ -287,6 +289,10 @@ void Connection::raiseConnectEvent() { mgmtObject->set_authIdentity(userId); agent->raiseEvent(_qmf::EventClientConnect(mgmtId, userId)); } + + QPID_LOG_CAT(debug, model, "Create connection. user:" << userId + << " rhost:" << mgmtId ); + } void Connection::setUserProxyAuth(bool b) |
