-
Notifications
You must be signed in to change notification settings - Fork 504
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
does not detect file that has been deleted and recreated #122
Comments
I test poll mode will trace delete and reopen ok. but Inotify does not |
hope fix Inotify |
我也遇到了这个问题,调试之后发现
这个逻辑上
测试删除和然后新创建文件,然后新增内容可以获取到 |
@yutengwan 提交merge request呀 |
可以先用Poll的方式 |
@yayuntian @yutengwan 原因是这个。fsnotify/fsnotify#194 试试修改下面fsnotify的代码。把忽略的消息放出来
|
73 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./gotail -F /root/messages
Jun 22 14:42:43 node-247 SWARM: time="2017-06-22T14:42:44.507886233+08:00" level=debug msg="3"
when delete /root/messages and recreate it, gotail not detect file, sos
The text was updated successfully, but these errors were encountered: