Commit f640adb0 authored by Jim Fulton's avatar Jim Fulton

Mo debug logging

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