diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-29 13:54:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 13:54:44 -0400 |
commit | 3a00bd1378d6c1f8bc46fd82f174398d5ed9e063 (patch) | |
tree | 9556b6a0e0eeeb9b4f2e2626d863402c8dc7188c /synapse/handlers/saml_handler.py | |
parent | Add MSC reference to changelog for #7736 (diff) | |
download | synapse-3a00bd1378d6c1f8bc46fd82f174398d5ed9e063.tar.xz |
Add additional logging for SAML sessions. (#7971)
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/saml_handler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/saml_handler.py b/synapse/handlers/saml_handler.py index abecaa8313..2d506dc1f2 100644 --- a/synapse/handlers/saml_handler.py +++ b/synapse/handlers/saml_handler.py @@ -96,6 +96,9 @@ class SamlHandler: relay_state=client_redirect_url ) + # Since SAML sessions timeout it is useful to log when they were created. + logger.info("Initiating a new SAML session: %s" % (reqid,)) + now = self._clock.time_msec() self._outstanding_requests_dict[reqid] = Saml2SessionData( creation_time=now, ui_auth_session_id=ui_auth_session_id, |