diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-11 16:50:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-11 16:50:46 +0000 |
commit | ed877d658500b736e7f7192fbeb64aac444ef4d8 (patch) | |
tree | 95ef3b8c79aa41afc8bed0b773c428256f5f5573 /synapse | |
parent | Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder... (diff) | |
download | synapse-ed877d658500b736e7f7192fbeb64aac444ef4d8.tar.xz |
Remove debug logging
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/federation.py | 10 | ||||
-rw-r--r-- | synapse/handlers/room.py | 2 |
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) |