mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Remove debug logging
This commit is contained in:
parent
ddb816cf60
commit
ed877d6585
@ -315,9 +315,6 @@ class FederationHandler(BaseHandler):
|
|||||||
unfreeze(event.get_pdu_json())
|
unfreeze(event.get_pdu_json())
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.info("Builder: %s", builder.get_pdu_json())
|
|
||||||
logger.info("Content: %s", content)
|
|
||||||
|
|
||||||
handled_events = set()
|
handled_events = set()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -328,21 +325,14 @@ class FederationHandler(BaseHandler):
|
|||||||
if not hasattr(event, "signatures"):
|
if not hasattr(event, "signatures"):
|
||||||
builder.signatures = {}
|
builder.signatures = {}
|
||||||
|
|
||||||
logger.info("Content befhahs: %s", builder.content)
|
|
||||||
|
|
||||||
add_hashes_and_signatures(
|
add_hashes_and_signatures(
|
||||||
builder,
|
builder,
|
||||||
self.hs.hostname,
|
self.hs.hostname,
|
||||||
self.hs.config.signing_key[0],
|
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()
|
new_event = builder.build()
|
||||||
|
|
||||||
logger.info("Content after build: %s", new_event.content)
|
|
||||||
|
|
||||||
# Try the host we successfully got a response to /make_join/
|
# Try the host we successfully got a response to /make_join/
|
||||||
# request first.
|
# request first.
|
||||||
try:
|
try:
|
||||||
|
@ -403,9 +403,7 @@ class RoomMemberHandler(BaseHandler):
|
|||||||
"membership": Membership.JOIN,
|
"membership": Membership.JOIN,
|
||||||
"content": content,
|
"content": content,
|
||||||
})
|
})
|
||||||
logger.info("Before build: %s", builder.get_pdu_json())
|
|
||||||
event, context = yield self._create_new_client_event(builder)
|
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)
|
yield self._do_join(event, context, room_hosts=hosts, do_auth=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user