[Zodb-checkins]
SVN: ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
- more logging
Christian Theune
ct at gocept.com
Mon Feb 27 18:26:13 EST 2006
Log message for revision 65545:
- more logging
Changed:
U ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
-=-
Modified: ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py 2006-02-27 23:00:30 UTC (rev 65544)
+++ ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py 2006-02-27 23:26:13 UTC (rev 65545)
@@ -968,6 +968,7 @@
blob_filename = self.fshelper.getBlobFilename(oid, serial)
# Case 1: Blob is available already, just use it
if os.path.exists(blob_filename):
+ log2("Found blob %s/%s in cache." % (oid, serial), level=BLATHER)
return blob_filename
# Case 2,3: Blob might still be downloading or not there yet
@@ -993,6 +994,8 @@
# If there was another download that is finished by now,
# we just take the result.
if os.path.exists(blob_filename):
+ log2("Found blob %s/%s in cache after it was downloaded "
+ "from another thread." % (oid, serial), level=BLATHER)
return blob_filename
# Otherwise we download and use that
More information about the Zodb-checkins
mailing list