Skip to content
/ tailpipe Public

Tail -F implementation for Go that handles log rotation

License

Notifications You must be signed in to change notification settings

droyo/tailpipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status GoDoc

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

Stars

Watchers

Forks

Packages

No packages published