[Zodb-checkins] CVS: ZODB3/ZEO - StorageServer.py:1.85
Jeremy Hylton
jeremy@zope.com
Tue, 7 Jan 2003 14:24:45 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv21404/ZEO
Modified Files:
StorageServer.py
Log Message:
Two logging improvements.
When a block transaction is stopped because the client disconnects,
log a message at INFO level.
Add a message at BLATHER level when a transaction acquires the commit
lock.
=== ZODB3/ZEO/StorageServer.py 1.84 => 1.85 ===
--- ZODB3/ZEO/StorageServer.py:1.84 Tue Jan 7 10:11:30 2003
+++ ZODB3/ZEO/StorageServer.py Tue Jan 7 14:24:41 2003
@@ -534,6 +534,8 @@
d, z = waiting[i]
if z is self:
del waiting[i]
+ self.log("Closed connection removed from waiting list."
+ " Clients waiting: %d." % len(waiting))
break
if self.transaction:
@@ -658,6 +660,7 @@
"Clients waiting: %d." % len(self.storage._waiting))
return d
else:
+ self.log("Transaction acquired storage lock.", zLOG.BLATHER)
return self._restart()
def _restart(self, delay=None):