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

improve scheduler logging to only show relevant passes #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SirCotare
Copy link
Contributor

@SirCotare SirCotare commented Apr 18, 2024

Currently all schedulers each would print three info logs with each pass.
By default that's 6 lines of log every 30 seconds.

This PR will:

  • Move logging of passes where nothing happened to DEBUG
  • Only log passes where something happened to INFO
  • Log the initial start of each scheduler once to INFO
  • If DEBUG is disabled: Print a summary each hour informing about how many silent passes were made since the last summary.

@SirCotare SirCotare self-assigned this Apr 18, 2024
@SirCotare SirCotare marked this pull request as ready for review April 18, 2024 06:23
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