Commit 1fb68a9e authored by Jeremy Hylton's avatar Jeremy Hylton

Add log entry when resource manager joins transaction.

parent e21879e1
......@@ -16,6 +16,7 @@ __metaclass__ = type
from transaction.interfaces import *
from threading import Lock
import logging
try:
from sets import Set
......@@ -93,6 +94,7 @@ class Transaction:
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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment