[Zodb-checkins] CVS: ZODB3/ZEO - ClientCache.py:1.36

Guido van Rossum guido@python.org
Fri, 13 Sep 2002 16:59:28 -0400


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv8842

Modified Files:
	ClientCache.py 
Log Message:
Make the one log message we spew out more informative: show storage
name, cache size, and current filename (could be None).


=== ZODB3/ZEO/ClientCache.py 1.35 => 1.36 ===
--- ZODB3/ZEO/ClientCache.py:1.35	Thu Sep  5 22:37:57 2002
+++ ZODB3/ZEO/ClientCache.py	Fri Sep 13 16:59:28 2002
@@ -184,7 +184,8 @@
             f[0].write(magic)
             current = 0
 
-        log("cache opened.  current = %s" % current)
+        log("ClientCache: storage=%r, size=%r; file[%r]=%r" %
+            (storage, size, current, p[current]))
 
         self._limit = size / 2
         self._current = current