summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-02 18:15:13 +0100
committerErik Johnston <erik@matrix.org>2015-06-02 18:15:13 +0100
commit3483b78d1a1fc01f36e39bddfb94a639e11bb126 (patch)
treedbf68cd46632a2140e747824e754d669f24e4b89
parentDon't explode if we don't have the event (diff)
downloadsynapse-3483b78d1a1fc01f36e39bddfb94a639e11bb126.tar.xz
Log where a request came from in federation
-rw-r--r--synapse/federation/transport/server.py2
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