Skip to content

Commit

Permalink
Mo debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Jun 20, 2016
1 parent 0783f6c commit f640adb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ZEO/StorageServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,7 @@ def close(self, join_timeout=1):
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:
Expand Down
1 change: 1 addition & 0 deletions src/ZEO/asyncio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self, loop, addr, zeo_storage):

closed = False
def close(self):
logger.debug("Closing server protocol")
if not self.closed:
self.closed = True
if self.transport is not None:
Expand Down

0 comments on commit f640adb

Please sign in to comment.