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

Added filename feature to follow() #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ElaWeinsberg
Copy link

This allows pytailer to support logrotate and temporary file deletion (e.g., file has been deleted and then created again).
In such use cases, the original file should be closed (if possible) and then opened again (thus the need for a filename).
We test two cases - one is the exception - the file has been deleted, and the second one is that the i-nodes are different (the logrotate case).

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.

1 participant