diff options
Diffstat (limited to 'cpp/src/qpid/broker/DtxManager.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/DtxManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/DtxManager.cpp b/cpp/src/qpid/broker/DtxManager.cpp index cef3a4b02b..fb6b3f019e 100644 --- a/cpp/src/qpid/broker/DtxManager.cpp +++ b/cpp/src/qpid/broker/DtxManager.cpp @@ -54,6 +54,7 @@ void DtxManager::recover(const std::string& xid, std::auto_ptr<TPCTransactionCon bool DtxManager::prepare(const std::string& xid) { + QPID_LOG(debug, "preparing: " << xid); try { return getWork(xid)->prepare(); } catch (DtxTimeoutException& e) { @@ -64,6 +65,7 @@ bool DtxManager::prepare(const std::string& xid) bool DtxManager::commit(const std::string& xid, bool onePhase) { + QPID_LOG(debug, "committing: " << xid); try { bool result = getWork(xid)->commit(onePhase); remove(xid); @@ -76,6 +78,7 @@ bool DtxManager::commit(const std::string& xid, bool onePhase) void DtxManager::rollback(const std::string& xid) { + QPID_LOG(debug, "rolling back: " << xid); try { getWork(xid)->rollback(); remove(xid); |
