summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-09-08 13:59:15 +0100
committerGitHub <noreply@github.com>2021-09-08 12:59:15 +0000
commit66d72b7e1794122126f297cda55ede3b16f19991 (patch)
treeef8615bade379199ede3414aefea7b8895833612 /synapse/http
parentRequest JSON for oEmbed requests (and ignore XML only providers). (#10759) (diff)
downloadsynapse-66d72b7e1794122126f297cda55ede3b16f19991.tar.xz
Change logging of puppeted requests to better differentiate users (#10779)
This used to be a comma and got accidentally changed to a period in #9654, but a pipe character is more easier to parse visually.
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/site.py b/synapse/http/site.py
index 190084e8aa..c665a9d5db 100644
--- a/synapse/http/site.py
+++ b/synapse/http/site.py
@@ -384,7 +384,7 @@ class SynapseRequest(Request):
         # authenticated (e.g. and admin is puppetting a user) then we log both.
         requester, authenticated_entity = self.get_authenticated_entity()
         if authenticated_entity:
-            requester = f"{authenticated_entity}.{requester}"
+            requester = f"{authenticated_entity}|{requester}"
 
         self.site.access_logger.log(
             log_level,