A Tiny Go CLI to Rotate and Compress Logs

Let me be clear up front: logrotate exists, it is installed on every system I own, and it works. This project was an excuse to write some Go on a Sunday and end up with a tool shaped exactly like my lab. It rotates log files for the handful of services I run from plain binaries instead of containers: when a log passes a size threshold, it gets renamed with a timestamp, gzipped, and anything older than the retention limit is deleted. ...

August 9, 2026 · 2 min · Tom Becker