[Zodb-checkins] CVS: ZODB4/src/transaction - txn.py:1.7
Jeremy Hylton
jeremy at zope.com
Tue May 20 15:40:37 EDT 2003
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):
More information about the Zodb-checkins
mailing list