summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-10-03 15:20:14 +0100
committerDavid Baker <dave@matrix.org>2017-10-03 15:20:14 +0100
commitc46a0d7eb4704c6532a611040a591633dac02b1a (patch)
treec43ddf9264723e6dec0489a72b64f646cae31aae
parentbetter logging (diff)
downloadsynapse-c46a0d7eb4704c6532a611040a591633dac02b1a.tar.xz
this shouldn't be debug
-rw-r--r--synapse/handlers/room_member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 76e46d93fe..77e5b95e8a 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -218,14 +218,14 @@ class RoomMemberHandler(BaseHandler):
             )
             if not is_requester_admin:
                 if self.hs.config.block_non_admin_invites:
-                    logger.debug(
+                    logger.info(
                         "Blocking invite: user is not admin and non-admin "
                         "invites disabled"
                     )
                     block_invite = True
 
                 if not self.spam_checker.user_may_invite(requester.user):
-                    logger.debug("Blocking invite due to spam checker")
+                    logger.info("Blocking invite due to spam checker")
                     block_invite = True
 
             if block_invite: