Skip to content
forked from droyo/tailpipe

tail -F implementation for Go that handles log rotation

License

Notifications You must be signed in to change notification settings

kitabisa/tailpipe

This branch is 7 commits ahead of, 17 commits behind droyo/tailpipe:master.

Repository files navigation

GoDoc

This version of https://github.com/droyo/tailpipe has been modified to include additional improvements.

The tailpipe package provides an implementation of tail -F for Go. In effect, it produces files that are infinite length, and re-opens the file when it is changed, such as during log rotation. It can be used for programs that need to watch log files indefinitely.

There are several tail packages for Go available. However, most packages do not preserve the io.Reader interface, instead opting for a line-oriented approach involving chan string. By preserving the io.Reader interface, this package composes better with the standard library.

About

tail -F implementation for Go that handles log rotation

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%