Commit aec6c454 authored by Jeremy Hylton's avatar Jeremy Hylton

In _log() pass the str() of the real storage not the ZEOStorage.

parent 3366502b
......@@ -141,9 +141,9 @@ class ZEOStorage:
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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment