Releases: DeRuina/timberjack
Releases · DeRuina/timberjack
v1.2.0
Timberjack v1.1.0
timberjack v1.1.0
Changed
- Rotated filenames now reflect the creation time of the log file, rather than the moment of rotation.
- This affects both time-based and size-based rotations.
- The timestamp in the rotated file name corresponds to when the log file was first opened.
- Improves clarity and accuracy for log analysis, ingestion pipelines, and time-based partitioning.
Compatibility
- No API changes or config changes.
- Backward-compatible.
To upgrade:
go get github.com/DeRuina/timberjack@v1.1.0Timberjack v1.0.0
Timberjack is now production-ready!
This v1.0.0 release marks the first stable version of Timberjack — a fork and enhancement of lumberjack. Timberjack provides a robust, pluggable logging backend with both size-based and time-based rotation features.
Features
- Size-based log rotation (
MaxSize) - Time-based log rotation (
RotationInterval) - Gzip compression of rotated files (
Compress) - Cleanup of old logs (
MaxBackups,MaxAge) - Manual log rotation via
Logger.Rotate() - Preservation of file permissions and ownership (on Linux)
- Fully compatible with
io.Writer, including the standardlogpackage - Comprehensive test suite
This version is API-stable. Future changes to the v1.x series will be backward-compatible. Breaking changes (if any) will be introduced in a future v2.0.0 release.
Installation
go get github.com/DeRuina/timberjack@v1.0.0Happy logging!