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

Test renamecreate also when file is rotated to unknown (to pytgail) n… #42

Closed
wants to merge 1 commit into from

Conversation

arekm
Copy link
Contributor

@arekm arekm commented Apr 3, 2018

…ame and pygtail is freshly reading file.

This test is testing a case when:

  • logrotate (https://github.com/logrotate/logrotate) rotates file to some unknown file name (in real life scenario it rotates the file to different "archive/" directory
  • log file gets new entries
  • some new run of script uses pygail to read log file (that's why I'm "reopening" file using new pytgail object)

Currently pygtail is failing this test suite due to bug in pygtail not handling such case.

@bgreenlee
Copy link
Owner

Merged

@bgreenlee bgreenlee closed this Oct 30, 2022
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