tail to the end of the file when --skip is true.
darron opened this issue · comments
tail
is designed to:
- Monitor a file.
- Send a metric if something new is added and it matches.
See the --skip
option - which is true by default.
From the first commit - it will read the whole file from the beginning and will match on ANYTHING throughout the whole file - it will not --skip
.
Need to add that functionality so that it just matches new things that are added.
I need to use Config.Location which uses a SeekInfo struct.