diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-01 14:34:20 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-01 14:41:25 +0100 |
commit | adb5b76ff5f5a4e7d6e3004e9ca435e14cfc4190 (patch) | |
tree | d11aaf5591c326db1fa0b5410b5eac3a36acf344 /synapse/api | |
parent | Use the daemonize key from the config if it exists (diff) | |
download | synapse-adb5b76ff5f5a4e7d6e3004e9ca435e14cfc4190.tar.xz |
Don't log all auth events every time we call auth.check
Diffstat (limited to '')
-rw-r--r-- | synapse/api/auth.py | 5 |
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( |