[Zodb-checkins] CVS: ZODB3/ZEO - StorageServer.py:1.54
Jeremy Hylton
jeremy@zope.com
Thu, 29 Aug 2002 18:11:10 -0400
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv29270
Modified Files:
StorageServer.py
Log Message:
In _log() pass the str() of the real storage not the ZEOStorage.
=== ZODB3/ZEO/StorageServer.py 1.53 => 1.54 ===
--- ZODB3/ZEO/StorageServer.py:1.53 Thu Aug 29 18:05:27 2002
+++ ZODB3/ZEO/StorageServer.py Thu Aug 29 18:11:10 2002
@@ -141,9 +141,9 @@
return "<%s %X trans=%s s_trans=%s>" % (name, id(self), tid, stid)
def _log(self, msg, level=zLOG.INFO, error=None, pid=os.getpid()):
- name = getattr(self, '__name__', None)
+ name = getattr(self.__storage, '__name__', None)
if name is None:
- name = str(self)
+ name = str(self.__storage)
zLOG.LOG("ZEO Server:%s:%s" % (pid, name), level, msg, error=error)
def setup_delegation(self):