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

Enhanced 'import_users.py' script using logging module #1240

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

ali-ramazani
Copy link
Member

@ali-ramazani ali-ramazani commented Jun 24, 2024

Fixes issue #1053

We enhanced the import_users.py script by integrating Python's logging module to provide detailed and descriptive log messages. These improvements will make the cron.log file significantly more informative, aiding in monitoring the script's execution and diagnosing any issues that arise from crontab scheduled tasks.

Copy link

View Code Coverage

@Ndiayem14
Copy link
Contributor

We have upgraded the import_users.py script by incorporating Python's logging module to generate comprehensive and detailed log messages. This enhancement will make the cron.log file much more insightful, facilitating better monitoring of the script's performance and easier troubleshooting of any issues that emerge from the crontab-scheduled tasks.

@WackyWeaver
Copy link
Contributor

This PR seemed to be pretty straightforward. I saw obvious problems with the logging, and I ran unit testing for this. This was not client side, so I saw no need to try to break it on that end. I would approve this PR.

@vungc
Copy link
Contributor

vungc commented Sep 11, 2024

Can you resolve the merge conflicts that exist? @ali-ramazani

Copy link
Contributor

@vungc vungc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to resolve merge conflicts.

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.

4 participants