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

Changing celery worker logs to be daily rather than per-task #1669

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

york-stsci
Copy link
Collaborator

This does 2 things:

  • It adds (to configure_logging() and make_log_file()) the option "include_time", which determines whether the log file will be made one-per-day or one-per-minute
  • It sets the shared_tasks.py log creation to set include_time to False, so that all celery tasks run on the same server during the same day will be stored in the same file

Effectively this returns things to the status quo before celery was made into a service, and it makes sense because there's no reason to make a new file every single time a new calibration task arrives.

@york-stsci york-stsci self-assigned this Jan 17, 2025
@mfixstsci mfixstsci merged commit ecec579 into spacetelescope:develop Jan 17, 2025
11 checks passed
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.

2 participants