Commit 5197f6c6 authored by Lukas Burgey's avatar Lukas Burgey

Remove obsolete logging from the auth module

parent e432e3d2
......@@ -162,7 +162,6 @@ class OIDCTokenAuthBackend(object):
try:
if issuer_uri is not None:
LOGGER.debug('Attempting to find IdP %s', issuer_uri)
oidc_client = OIDCConfig.objects.get(issuer_uri=issuer_uri)
elif idp_id is not None:
......
......@@ -27,7 +27,6 @@ class EntitlementNameSpace(models.Model):
name_space = cls(
name=name,
)
LOGGER.info('New EntitlementNameSpace: %s', name)
name_space.save()
return name_space
......@@ -88,7 +87,6 @@ class Group(VO):
name=name,
idp=idp,
)
LOGGER.info('New Group: %s', name)
group.save()
return group
......@@ -187,8 +185,6 @@ class Entitlement(VO):
idp=idp,
)
LOGGER.info('New Entitlement: %s', entitlement.name)
name_space_search = re.search('^(.*):group', name)
if name_space_search:
entitlement.name_space = EntitlementNameSpace.get_name_space(name_space_search.group(1))
......
......@@ -159,7 +159,7 @@ class AuthCallback(View):
else:
# user authenticated -> back to frontend
login(request, user)
LOGGER.info('AuthCallback: IdP %s authenticated user as %s', oidc_config, user)
LOGGER.info('IdP %s authenticated user as %s', oidc_config, user)
return response
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment