[Zodb-checkins] CVS: ZEO/ZEO - StorageServer.py:1.50
Jeremy Hylton
jeremy@zope.com
Thu, 29 Aug 2002 17:10:34 -0400
Update of /cvs-repository/ZEO/ZEO
In directory cvs.zope.org:/tmp/cvs-serv10129
Modified Files:
StorageServer.py
Log Message:
Add blather logging of close() on ZEOStorage
=== ZEO/ZEO/StorageServer.py 1.49 => 1.50 ===
--- ZEO/ZEO/StorageServer.py:1.49 Thu Aug 29 17:07:52 2002
+++ ZEO/ZEO/StorageServer.py Thu Aug 29 17:10:34 2002
@@ -119,9 +119,12 @@
def close(self):
# When this storage closes, we must ensure that it aborts
# any pending transaction. Not sure if this is the clearest way.
- zLOG.LOG
if self._transaction is not None:
+ self._log("close during transaction %s" % self._transaction,
+ zLOG.BLATHER)
self.tpc_abort(self._transaction.id)
+ else:
+ self._log("close", zLOG.BLATHER)
self._conn.close()
def notifyConnected(self, conn):