From adb5b76ff5f5a4e7d6e3004e9ca435e14cfc4190 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 1 May 2015 14:34:20 +0100 Subject: [PATCH] Don't log all auth events every time we call auth.check --- synapse/api/auth.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(