From 335cb49ec71ddc69e19bc036ffa13f091a62c15a Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Thu, 4 Nov 2010 20:31:04 +0100 Subject: [PATCH] More informative logging message --- src/s2repoze/plugins/sp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/s2repoze/plugins/sp.py b/src/s2repoze/plugins/sp.py index d617c91..22e6abd 100644 --- a/src/s2repoze/plugins/sp.py +++ b/src/s2repoze/plugins/sp.py @@ -364,7 +364,7 @@ class SAML2Plugin(FormPluginBase): (ava, _) = self.saml_client.users.get_identity(subject_id) #now = time.gmtime() if self.debug: - self.log and self.log.info("Adding %s" % ava) + self.log and self.log.info("[add_metadata] adds: %s" % ava) identity["user"].update(ava) except KeyError: pass @@ -381,7 +381,7 @@ class SAML2Plugin(FormPluginBase): identity["pysaml2_vo_expanded"] = 1 if self.debug: - self.log and self.log.info("[Adding] identity %s" % (identity,)) + self.log and self.log.info("[add_metadata] returns: %s" % (dict(identity),)) # @return