go-tail
go-tail copied to clipboard
https://github.com/papertrail/go-tail/blob/master/follower/follower.go#L220 will create a new `*time.Timer` for every iteration of the event loop, and this timer will not be cleaned up until its 10 seconds expire. For busy logs, this...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20161023150541-c200b10b5d5e to 0.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/sys&package-manager=go_modules&previous-version=0.0.0-20161023150541-c200b10b5d5e&new-version=0.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
This adds a select case statements to trap error and close channels during the initial read-through of the file (before waiting for changes). If there is an error or a...
repro: ``` touch test.log ./go-tail -F ./test.log & date > test.log Fri Sep 15 13:26:55 EDT 2017 mv test.log test.log0 ; touch test.log open ./test.log: no such file or directory...
Since some software writing logs to a series of files, the **newest** files may changes while switched to a new file. For this situation, this feature would be helpful.
* added removal of also \r when read line ends with \r\n * changed the way files are open on windows. By default, golang on windows opens a file without...