commit | 2b56f8711f06afb08646f5360e16312762b7cca3 | [log] [tgz] |
---|---|---|
author | Nino Kodabande <nkodabande@suse.com> | Fri Jul 07 19:15:47 2017 |
committer | GitHub <noreply@github.com> | Fri Jul 07 19:15:47 2017 |
tree | 19cf3e2fbeac649e74f1d7ce9a5b2c21874611c9 | |
parent | faf842bde7ed83bbc3c65a2c454fae39bc29a95f [diff] | |
parent | 87e6317929c4b7ce85908ba56818b49f858cf372 [diff] |
Merge pull request #105 from boz/fix-rl-gc-eviction ratelimit: fix bucket collection eviction
A Go package striving to emulate the features of the BSD tail
program.
t, err := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true}) for line := range t.Lines { fmt.Println(line.Text) }
See API documentation.
Tail comes with full support for truncation/move detection as it is designed to work with log rotation tools.
go get github.com/hpcloud/tail/...
This package needs assistance for full Windows support.