diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-11-23 13:45:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 08:45:23 -0500 |
commit | 59a995f38dab8d83aee09ed7eb3858390ed53a65 (patch) | |
tree | 34473a422eeca82cfb2a02d9a3ae96a3f5949f87 /synapse/handlers/saml_handler.py | |
parent | INSTALL: Fix setting content-type on well-known (#8793) (diff) | |
download | synapse-59a995f38dab8d83aee09ed7eb3858390ed53a65.tar.xz |
Improve logging of the mapping from SSO IDs to Matrix IDs. (#8773)
Diffstat (limited to 'synapse/handlers/saml_handler.py')
-rw-r--r-- | synapse/handlers/saml_handler.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/saml_handler.py b/synapse/handlers/saml_handler.py index 5d9b555b13..f4e8cbeac8 100644 --- a/synapse/handlers/saml_handler.py +++ b/synapse/handlers/saml_handler.py @@ -268,7 +268,8 @@ class SamlHandler(BaseHandler): user_id = UserID( map_username_to_mxid_localpart(attrval), self.server_name ).to_string() - logger.info( + + logger.debug( "Looking for existing account based on mapped %s %s", self._grandfathered_mxid_source_attribute, user_id, @@ -324,7 +325,7 @@ class SamlHandler(BaseHandler): if contains_invalid_mxid_characters(localpart): raise MappingException("localpart is invalid: %s" % (localpart,)) - logger.info("Mapped SAML user to local part %s", localpart) + logger.debug("Mapped SAML user to local part %s", localpart) registered_user_id = await self._registration_handler.register_user( localpart=localpart, default_display_name=displayname, |