pygtail does not properly follow files rotated to .zip files
Observed with rotation done by logback.
https://github.com/bgreenlee/pygtail/blob/master/pygtail/core.py#L214
Would you mind submitting a PR, since you're in a position to test?
Sure, I will do it tomorrow.
Ha, it seems to be much more complex then I initially suspected. In addition I am not sure how subsequent rotated files are handled in current implementation e.g. .2.gz, .3.gz....
You don't need to handle subsequent rotated files. You only need to handle the case where the file you were tailing was just rotated, in which case it would have, for example, a .0.gz or .1.gz extension.