Downgrade log level from warning to info for expected consent gating workflow.

This commit is contained in:
Matt Drayer
2019-04-10 11:22:19 -04:00
parent 4202f1f02a
commit 04aa7495ea

View File

@@ -303,7 +303,7 @@ def data_sharing_consent_required(view_func):
consent_url = get_enterprise_consent_url(request, course_id, enrollment_exists=True)
if consent_url:
real_user = getattr(request.user, 'real_user', request.user)
LOGGER.warning(
LOGGER.info(
u'User %s cannot access the course %s because they have not granted consent',
real_user,
course_id,