commit | 7c9bfffc210b54cd22250e487f0a6fc458fe0184 | [log] [tgz] |
---|---|---|
author | Nino Kodabande <[email protected]> | Tue Feb 07 02:12:57 2017 |
committer | GitHub <[email protected]> | Tue Feb 07 02:12:57 2017 |
tree | f75f915591b4960dbed9d609d5d468d3389d5b6c | |
parent | 46ed7f0315f36b5f9b7c6ba82693362dc581d170 [diff] |
Revert "Tailing stop bug fix"
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.