Added logging statements around DSC (#25320)
Added logging statements around DSC (#25320)

Added logging statements to help diagnose failures in presenting
Data Sharing Consent views to learners who have not consented to
data sharing, but their enterprise requires it

ENT-3494
arbrandes/edx-platform,eduNEXT/edunext-platform,stvstnfrd/edx-platform,stvstnfrd/edx-platform,EDUlib/edx-platform,EDUlib/edx-platform,arbrandes/edx-platform,eduNEXT/edx-platform,arbrandes/edx-platform,eduNEXT/edx-platform,arbrandes/edx-platform,eduNEXT/edx-platform,eduNEXT/edunext-platform,angelapper/edx-platform,angelapper/edx-platform,edx/edx-platform,EDUlib/edx-platform,stvstnfrd/edx-platform,eduNEXT/edx-platform,edx/edx-platform,angelapper/edx-platform,edx/edx-platform,eduNEXT/edunext-platform,EDUlib/edx-platform,edx/edx-platform,stvstnfrd/edx-platform,angelapper/edx-platform,eduNEXT/edunext-platform