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

Better: Use realpath for logdevice. #17

Merged
merged 3 commits into from
May 28, 2019

Conversation

ylecuyer
Copy link
Contributor

So PR is in order to prevent a bug during log rotation.

If the path to the log file doesn't exist anymore, the log rotation will be stuck for a moment and return this error: log rotation inter-process lock failed.

This occurs for example with capistrano who deletes older releases folders. To avoid this error, the file path is resolved to the real path which is not deleted upon releases

Copy link
Owner

@elhu elhu left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ! Thanks for contributing, I'll make a new release soon (possibly after we sort out #16)

@elhu elhu merged commit 3da2ade into elhu:master May 28, 2019
@ylecuyer ylecuyer deleted the use-realpath-for-symlinks branch May 31, 2019 14:09
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