diff options
author | Alan Conway <aconway@apache.org> | 2009-03-05 13:28:14 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-03-05 13:28:14 +0000 |
commit | aff798ccbc13b41696c661fe07bd3934deb18625 (patch) | |
tree | ba59dbefe36754a60386f8632cb07f05e89a61ea /cpp/src/qpid/cluster/Event.cpp | |
parent | 23053617b74f1bbb6c8ae3c60fe24953701a4583 (diff) | |
download | qpid-python-aff798ccbc13b41696c661fe07bd3934deb18625.tar.gz |
cluster: fix delivery-property.exchange-name set on updated messages.
Logging improvements, useful for debugging:
- qpid/SessionState.cpp: show frame bodies with command IDs.
- assign cluster-wide id number to each Event.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Event.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Event.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp index 749fbf240f..ccb4d3ede8 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -44,7 +44,7 @@ const size_t EventHeader::HEADER_SIZE = ; EventHeader::EventHeader(EventType t, const ConnectionId& c, size_t s) - : type(t), connectionId(c), size(s), sequence(0) {} + : type(t), connectionId(c), size(s), id(0) {} Event::Event() {} @@ -128,8 +128,7 @@ std::ostream& operator << (std::ostream& o, EventType t) { } std::ostream& operator << (std::ostream& o, const EventHeader& e) { - o << "[event " << e.getConnectionId() << "/" << e.getSequence() - << " " << e.getType() << " " << e.getSize() << " bytes]"; + o << "Event[id=" << e.getId() << " connection=" << e.getConnectionId() << " " << e.getType() << " " << e.getSize() << " bytes]"; return o; } |