diff options
author | Erik Johnston <erik@matrix.org> | 2015-06-02 18:15:13 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-06-02 18:15:13 +0100 |
commit | 3483b78d1a1fc01f36e39bddfb94a639e11bb126 (patch) | |
tree | dbf68cd46632a2140e747824e754d669f24e4b89 /synapse/federation/transport/server.py | |
parent | Don't explode if we don't have the event (diff) | |
download | synapse-3483b78d1a1fc01f36e39bddfb94a639e11bb126.tar.xz |
Log where a request came from in federation
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r-- | synapse/federation/transport/server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index af87805f34..31190e700a 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -93,6 +93,8 @@ class TransportLayerServer(object): yield self.keyring.verify_json_for_server(origin, json_request) + logger.info("Request from %s", origin) + defer.returnValue((origin, content)) @log_function |