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

fix: handle missing logs folder when performing log rotations #2365

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

yougotwill
Copy link
Collaborator

@yougotwill yougotwill commented Jun 14, 2022

Description

bunyan doesnt check if the filepath exists before running the finish command after a log rotation, I've patched it to create the directory if it doesn't exist yet

Should fix #2278 and #2333

Tested on macOS, Ubuntu and Windows

bunyan doesnt check if the filepath exists before running the finish command after a log rotation, we patched it to create the directory if it doesnt exist yet
@yougotwill yougotwill changed the title fix: handle missing logs folder when performing log rotations [Do not merge] fix: handle missing logs folder when performing log rotations Jun 14, 2022
@yougotwill yougotwill changed the title [Do not merge] fix: handle missing logs folder when performing log rotations fix: handle missing logs folder when performing log rotations Jun 14, 2022
@Bilb Bilb merged commit ed092e6 into oxen-io:clearnet Jun 22, 2022
@yougotwill yougotwill deleted the patches/bunyan+1.8.15.patch branch February 27, 2024 00:41
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.

Session periodically crashes on Linux when it can't find its own log file.
2 participants