Commit f640adb0 authored by Jim Fulton's avatar Jim Fulton

Mo debug logging

parent 0783f6cd
...@@ -1080,6 +1080,7 @@ class StorageServer: ...@@ -1080,6 +1080,7 @@ class StorageServer:
for sid, zeo_storages in self.zeo_storages_by_storage_id.items(): for sid, zeo_storages in self.zeo_storages_by_storage_id.items():
for zs in zeo_storages[:]: for zs in zeo_storages[:]:
try: try:
logger.debug("Closing %s", zs.connection)
zs.connection.call_soon_threadsafe( zs.connection.call_soon_threadsafe(
zs.connection.close) zs.connection.close)
except Exception: except Exception:
......
...@@ -34,6 +34,7 @@ class ServerProtocol(base.Protocol): ...@@ -34,6 +34,7 @@ class ServerProtocol(base.Protocol):
closed = False closed = False
def close(self): def close(self):
logger.debug("Closing server protocol")
if not self.closed: if not self.closed:
self.closed = True self.closed = True
if self.transport is not None: if self.transport is not None:
......
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