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

Reduce excessive logging #1282

Merged
merged 9 commits into from
Nov 10, 2023
Merged

Conversation

bug-or-feature
Copy link
Collaborator

@bug-or-feature bug-or-feature commented Nov 3, 2023

Moving to Python logging has massively increased the number of messages being generated. A lot of messages in the old system were being suppressed by pst_logger._check_msg_logged_recently_or_update_hash(). The new system doesn't have anything like that, and I don't think it should. Better instead to figure out what was causing the excessive logging, and fix or remove it. This PR deals with some of those cases. It also adds some time.sleep() calls to continuous algo loops, to reduce load.

See this note too

@bug-or-feature bug-or-feature marked this pull request as draft November 7, 2023 11:23
@bug-or-feature
Copy link
Collaborator Author

setting as draft until develop lint fixed

@bug-or-feature bug-or-feature marked this pull request as ready for review November 7, 2023 14:18
@robcarver17 robcarver17 merged commit 2f290f6 into robcarver17:develop Nov 10, 2023
2 checks passed
@bug-or-feature bug-or-feature deleted the loop_logging branch November 10, 2023 15:45
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