aboutsummaryrefslogtreecommitdiff
path: root/federationapi
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-10-02 11:38:35 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-10-02 11:38:35 +0100
commit28454d6fb712d69e299660bef098be0be45c9475 (patch)
tree75febbb01d57b40c686f87a3d35dae0667edd448 /federationapi
parent92ceb46b4996330326aaf0cb99c3fdd523b9afba (diff)
Log origin in /send
Diffstat (limited to 'federationapi')
-rw-r--r--federationapi/routing/send.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go
index d4bbe31c..e2ab9b33 100644
--- a/federationapi/routing/send.go
+++ b/federationapi/routing/send.go
@@ -81,7 +81,7 @@ func Send(
t.TransactionID = txnID
t.Destination = cfg.Matrix.ServerName
- util.GetLogger(httpReq.Context()).Infof("Received transaction %q containing %d PDUs, %d EDUs", txnID, len(t.PDUs), len(t.EDUs))
+ util.GetLogger(httpReq.Context()).Infof("Received transaction %q from %q containing %d PDUs, %d EDUs", txnID, request.Origin(), len(t.PDUs), len(t.EDUs))
resp, jsonErr := t.processTransaction(httpReq.Context())
if jsonErr != nil {