Open HeChuanXUPT opened 6 years ago
tail.Config{ Follow: true, Poll: true, ReOpen: false, MustExist: true, Location: &tail.SeekInfo{0, os.SEEK_END}})
$ echo "test log 1" >> test.log $ >test.log $ echo "test log 2" >> test.log
can get 2 lines
$ echo "test log 1" >> test.log $ >test.log && echo "test log 2" >> test.log
will miss the second log
system:windows 7 64bit branch: master
config
case 1, OK
can get 2 lines
case 2, MISS
will miss the second log
env
system:windows 7 64bit branch: master