From d0c1019f31421e5b74396fd3e3017a33931d6161 Mon Sep 17 00:00:00 2001 From: eemaanamir Date: Wed, 1 Jan 2025 14:52:42 +0500 Subject: [PATCH] chore: added a new info log to course update email --- openedx/core/djangoapps/schedules/resolvers.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/schedules/resolvers.py b/openedx/core/djangoapps/schedules/resolvers.py index c06108053c4..40d565962b0 100644 --- a/openedx/core/djangoapps/schedules/resolvers.py +++ b/openedx/core/djangoapps/schedules/resolvers.py @@ -382,6 +382,13 @@ def send(self, msg_type): language, context, ) + LOG.info( + 'Sending email to user: {} for Instructor-paced course with course-key: {} and language: {}'.format( + user.username, + self.course_id, + language + ) + ) with function_trace('enqueue_send_task'): self.async_send_task.apply_async((self.site.id, str(msg)), retry=False) # pylint: disable=no-member @@ -470,7 +477,7 @@ def send(self): # lint-amnesty, pylint: disable=arguments-differ ) ) LOG.info( - 'Sending email to user: {} for course-key: {} with the language: {}'.format( + 'Sending email to user: {} for Self-paced course with course-key: {} and language: {}'.format( user.username, self.course_id, language