Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Data rearchitecture] Improve logs during course updates #6149

Conversation

gabina
Copy link
Member

@gabina gabina commented Jan 22, 2025

What this PR does

This PR makes some refactors to improve logs during course updates:

  • Pass in the right update_service and debugger instance to keep all logs in Sentry together.
  • Add some basic logs through Rails.logger to be easier understand course metadata changes and timeslices processing.
  • Adds number of timeslices processed and re-processed to the course logs in flags.

Open questions and concerns

TODO: see if using Rails.logger.info is OK.

@gabina gabina marked this pull request as ready for review January 22, 2025 21:01
@gabina gabina merged commit d6c8a2c into WikiEducationFoundation:data-rearchitecture-for-dashboard Jan 22, 2025
1 check passed
@gabina gabina deleted the data-rearchitecture-improve-logs-during-course-updates branch January 27, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant