summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/handlers/federation.py10
-rw-r--r--synapse/handlers/room.py2
2 files changed, 0 insertions, 12 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index e36f0945ef..0c35317bb8 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -315,9 +315,6 @@ class FederationHandler(BaseHandler):
             unfreeze(event.get_pdu_json())
         )
 
-        logger.info("Builder: %s", builder.get_pdu_json())
-        logger.info("Content: %s", content)
-
         handled_events = set()
 
         try:
@@ -328,21 +325,14 @@ class FederationHandler(BaseHandler):
             if not hasattr(event, "signatures"):
                 builder.signatures = {}
 
-            logger.info("Content befhahs: %s", builder.content)
-
             add_hashes_and_signatures(
                 builder,
                 self.hs.hostname,
                 self.hs.config.signing_key[0],
             )
 
-            logger.info("Content aftet hah: %s", builder.content)
-            logger.info("Content pdu json: %s", builder.get_pdu_json())
-
             new_event = builder.build()
 
-            logger.info("Content after build: %s", new_event.content)
-
             # Try the host we successfully got a response to /make_join/
             # request first.
             try:
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index c685991a9f..914742d913 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -403,9 +403,7 @@ class RoomMemberHandler(BaseHandler):
             "membership": Membership.JOIN,
             "content": content,
         })
-        logger.info("Before build: %s", builder.get_pdu_json())
         event, context = yield self._create_new_client_event(builder)
-        logger.info("After build: %s", event.get_dict())
 
         yield self._do_join(event, context, room_hosts=hosts, do_auth=True)