summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-18 09:58:03 +0100
committerErik Johnston <erik@matrix.org>2015-05-18 09:58:03 +0100
commitf8bd4de87de9464c54dcc50371866e3537754b9b (patch)
tree7075e2cff2ec20f9efba04f515036d1e92bfdc64 /synapse/federation
parentPEP8 (diff)
downloadsynapse-f8bd4de87de9464c54dcc50371866e3537754b9b.tar.xz
Remove debug logging
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_client.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index c255df1bbb..fe5a7a9fa0 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -475,9 +475,6 @@ class FederationClient(FederationBase):
             limit (int): Maximum number of events to return.
             min_depth (int): Minimum depth of events tor return.
         """
-        logger.debug("get_missing_events: latest_events: %r", latest_events)
-        logger.debug("get_missing_events: earliest_events_ids: %r", earliest_events_ids)
-
         try:
             content = yield self.transport_layer.get_missing_events(
                 destination=destination,
@@ -488,8 +485,6 @@ class FederationClient(FederationBase):
                 min_depth=min_depth,
             )
 
-            logger.debug("get_missing_events: Got content: %r", content)
-
             events = [
                 self.event_from_pdu_json(e)
                 for e in content.get("events", [])
@@ -499,8 +494,6 @@ class FederationClient(FederationBase):
                 destination, events, outlier=False
             )
 
-            logger.debug("get_missing_events: signed_events: %r", signed_events)
-
             have_gotten_all_from_destination = True
         except HttpResponseException as e:
             if not e.code == 400:
@@ -526,7 +519,6 @@ class FederationClient(FederationBase):
 
             seen_events = set(earliest_events_ids)
 
-            logger.debug("get_missing_events: signed_events2: %r", signed_events)
             seen_events.update(e.event_id for e in signed_events)
 
             missing_events = {}