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

Refactor logging and allow setting a minimum log level that should not be emitted #161

Merged
merged 8 commits into from
Dec 19, 2024

Conversation

TrentHouliston
Copy link
Member

This pulls the logging code out into its own class as it was getting more complex.

It also allows limiting sending of logs from a reactor. Sending out every trace message was causing a lot of overhead.

Now there are two variables in each reactor, one to describe the displayed log level log_level and one to describe the minimum emitted log level min_log_level

@TrentHouliston TrentHouliston changed the title Change the logging system to Refactor logging and allow setting a minimum log level that should not be emitted Dec 19, 2024
@TrentHouliston TrentHouliston merged commit 8496dca into main Dec 19, 2024
10 of 12 checks passed
@TrentHouliston TrentHouliston deleted the houliston/limit-logs branch December 19, 2024 04:04
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