0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 07:23:52 +01:00

Log where a request came from in federation

This commit is contained in:
Erik Johnston 2015-06-02 18:15:13 +01:00
parent 6e17463228
commit 3483b78d1a

View file

@ -93,6 +93,8 @@ class TransportLayerServer(object):
yield self.keyring.verify_json_for_server(origin, json_request) yield self.keyring.verify_json_for_server(origin, json_request)
logger.info("Request from %s", origin)
defer.returnValue((origin, content)) defer.returnValue((origin, content))
@log_function @log_function