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

Trim the logs in the temporary logfile #2789

Open
wants to merge 2 commits into
base: testnet3
Choose a base branch
from

Conversation

ljedrz
Copy link
Collaborator

@ljedrz ljedrz commented Oct 20, 2023

This was a lot more tricky than I anticipated, but now this PR not only performs log trimming, but should also make logging to the filesystem faster.

We might also want to consider using RollingFileAppender, which can work in tandem with NonBlocking used in this PR.

Signed-off-by: ljedrz <ljedrz@gmail.com>
Signed-off-by: ljedrz <ljedrz@gmail.com>
@ljedrz ljedrz requested a review from howardwu October 20, 2023 11:19
@ljedrz
Copy link
Collaborator Author

ljedrz commented Oct 20, 2023

The CI failures are unrelated.

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.

None yet

2 participants