summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-01 14:34:20 +0100
committerErik Johnston <erik@matrix.org>2015-05-01 14:41:25 +0100
commitadb5b76ff5f5a4e7d6e3004e9ca435e14cfc4190 (patch)
treed11aaf5591c326db1fa0b5410b5eac3a36acf344 /synapse/api/auth.py
parentUse the daemonize key from the config if it exists (diff)
downloadsynapse-adb5b76ff5f5a4e7d6e3004e9ca435e14cfc4190.tar.xz
Don't log all auth events every time we call auth.check
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index beafa51662..0933521a1a 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -65,7 +65,10 @@ class Auth(object):
             if event.type == EventTypes.Aliases:
                 return True
 
-            logger.debug("Auth events: %s", auth_events)
+            logger.debug(
+                "Auth events: %s",
+                [a.event_id for a in auth_events]
+            )
 
             if event.type == EventTypes.Member:
                 allowed = self.is_membership_change_allowed(