A tiny Go utility that tails a file by repeatedly reopening it, seeking to the last read position, and printing any new lines.
- Near-real-time line streaming
- Single binary with no dependencies
main.go— Polling tail implementationgo.mod— Go module definition
- Go 1.22+
git clone https://github.com/biprajit007/log-streaming-tool.git
cd log-streaming-tool
go buildgo run . /var/log/system.log- No file rotation detection
- Polling interval is fixed at one second
- No filtering, coloring, or seek-to-end option