Skip to content

Releases: DeRuina/timberjack

v1.2.0

27 May 14:16
6ff41fa

Choose a tag to compare

1.2.0 (2025-05-27)

Features

Timberjack v1.1.0

08 May 11:58
3d87292

Choose a tag to compare

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.0

Timberjack v1.0.0

02 May 07:18

Choose a tag to compare

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 standard log package
  • 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.0

Happy logging!