Commit 4a911356 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Display more informations about transactions in storage log().

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2155 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent fea037dc
......@@ -284,8 +284,9 @@ class TransactionManager(object):
return oid in self._load_lock_dict
def log(self):
logging.info("Transactions: %r",
[dump(x) for x in self._transaction_dict.keys()])
logging.info("Transactions:")
for txn in self._transaction_dict.values():
logging.info(' %r', txn)
logging.info(' Read locks:')
for oid, tid in self._load_lock_dict.items():
logging.info(' %r by %r', dump(oid), dump(tid))
......
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