Hello all,
I needed a solution to rotate logs primarily based on time in Go (e.g., day by day or hourly), however couldnβt discover a clear resolution.
So I forked Lumberjack and constructed Timberjack, a drop-in substitute that provides time-based rotation to the unique.
It really works identical to Lumberjack, however provides the choice to rotate logs on a schedule as an alternative of simply by measurement.
Medium write-up: Timberjack: A Time-Based mostly Log Rotation Library for Go | by Dean Ruina | Might, 2025 | Medium
Suggestions, points, or PRs are welcome!