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

Make control loop more robust #1

Open
bbockelm opened this issue Oct 8, 2023 · 0 comments
Open

Make control loop more robust #1

bbockelm opened this issue Oct 8, 2023 · 0 comments

Comments

@bbockelm
Copy link
Collaborator

bbockelm commented Oct 8, 2023

The control loop does not handle errors well. We can make this more robust by:

  1. Switch to python logging, allowing the admin to see the timestamp of a certain action.
  2. Redirect stdout/stderr to append to files in the working directory. Otherwise, HTCondor always overwrites the stdout/stderr in the case of a crash.
  3. Go through the control loop and catch / log known exceptions instead of causing the control loop to exit.
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

No branches or pull requests

1 participant