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

feat: keep last 1000 log lines from modules #1348

Closed
wants to merge 1 commit into from

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Feb 21, 2024

Last time I was reviewing Station module logs, I noticed they did not contain any messages from Spark, only messages from Voyager. Both modules produce rather verbose logs, which is good for troubleshooting, but requires us to keep more than 100 log lines.

This commit increases the limit to 1000 lines.

The performance impact should be negligible: assuming 100 bytes/line, the log storage will require ~100KiB of RAM.

Last time I was reviewing Station module logs, I noticed they did not
contain any messages from Spark, only messages from Voyager. Both
modules produce rather verbose logs, which is good for troubleshooting,
but requires us to keep more than 100 log lines.

This commit increases the limit to 1000 lines.

The performance impact should be negligible: assuming 100 bytes/line,
the log storage will require ~100KiB of RAM.

Signed-off-by: Miroslav Bajtoš <[email protected]>
@bajtos bajtos requested a review from juliangruber February 21, 2024 14:31
Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternative to consider: #1347

@bajtos
Copy link
Member Author

bajtos commented Feb 22, 2024

Closing in favour of #1347

@bajtos bajtos closed this Feb 22, 2024
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