Skip to content

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
TrentHouliston added a commit that referenced this pull request Dec 23, 2024
…t be emitted (#161)

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`
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