[Zope3-checkins] CVS: ZODB4/src/transaction - txn.py:1.7
Jeremy Hylton
jeremy@zope.com
Tue, 20 May 2003 14:40:37 -0400
Update of /cvs-repository/ZODB4/src/transaction
In directory cvs.zope.org:/tmp/cvs-serv13056/transaction
Modified Files:
txn.py
Log Message:
Add log entry when resource manager joins transaction.
=== ZODB4/src/transaction/txn.py 1.6 => 1.7 ===
--- ZODB4/src/transaction/txn.py:1.6 Fri Apr 25 15:28:47 2003
+++ ZODB4/src/transaction/txn.py Tue May 20 14:40:37 2003
@@ -16,6 +16,7 @@
from transaction.interfaces import *
from threading import Lock
+import logging
try:
from sets import Set
@@ -93,6 +94,7 @@
assert self._manager is not None
if self._status != Status.ACTIVE:
raise IllegalStateError("join", self._status)
+ self._manager.logger.debug("%s join %s" % (self, resource))
self._resources.add(resource)
def status(self):