Skip to content

Use forked library for log rotation - #4764

Merged
Guillembonet merged 1 commit into
masterfrom
fix-log-rolling
Feb 10, 2022
Merged

Use forked library for log rotation#4764
Guillembonet merged 1 commit into
masterfrom
fix-log-rolling

Conversation

@Guillembonet

@Guillembonet Guillembonet commented Feb 10, 2022

Copy link
Copy Markdown
Contributor

I forked the library to stop doing rename and delete operations with open files which failed on windows. Now it rotates correctly both in linux and windows, I also created a PR to merge it in the original repo so we can switch back eventually.

To review this PR I suggest looking at this commit.

Closes: #4630

Signed-off-by: Guillem Bonet guillem@mysterium.network

@Snawoot Snawoot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you please give a link for diff between original and fork? Otherwise it's hard to understand what we actually approve.

@Guillembonet

Copy link
Copy Markdown
Contributor Author

I forked the library to stop doing rename and delete operations with open files which failed on windows. Now it rotates correctly both in linux and windows, I also created a PR to merge it in the original repo so we can switch back eventually.

To review this PR I suggest looking at this commit.

Closes: #4630

Signed-off-by: Guillem Bonet guillem@mysterium.network

@Snawoot check the PR or commit link above

@Snawoot

Snawoot commented Feb 10, 2022

Copy link
Copy Markdown
Contributor

@Guillembonet sorry, missed that. Let's wait until comments to PR to original repo will be addressed.

Signed-off-by: Guillem Bonet <guillem@mysterium.network>
@Guillembonet
Guillembonet merged commit 5d9c879 into master Feb 10, 2022
@Guillembonet
Guillembonet deleted the fix-log-rolling branch February 10, 2022 14:28
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.

Node logs are not always rotated causing huge size and dVPN app starting issues

3 participants