Tailing library based on fstab/grok_exporter tail package - cross compiles easily and doesn't lock Windows files!
Will evolve for use in other libraries such as p4prometheus and go-libp4dlog
Tried papertrail/go-tail but had two problems:
- reopen wasn't working properly
- log files was locked on Windows if being tailed
When I tried to import the files from fstab/grok_exporter I found the Oniguruma dependency made life rather trickier - especially when cross compiling for Windows (even though the instructions all worked - just took a long time!)
- Proper config