lumberjack is a log rolling package for Go
Full Changelog: https://github.com/natefinch/lumberjack/compare/v2.2.0...v2.2.1
Compress
setting details by @tbutts in https://github.com/natefinch/lumberjack/pull/49
Full Changelog: https://github.com/natefinch/lumberjack/compare/v2.1...v2.2.0
Thanks to the hard work of the devs on Juju, lumberjack now supports compression of backup files.
The one very minor change in behavior is that if you call Rotate(), the rotation will occur in the background, where previously it would rotate on that thread. But since the rotation process now includes compression of log files, we didn't want all that time to be spent inside the mutex.
This release is the same version that you've always gotten from go get gopkg.in/natefinch/lumberjack.v2
.
I'm making this release mostly to differentiate between it and the new release which will include compression of backups.
Lumberjack is now production-ready!
From now on, only backwards-compatible changes will be made in v1.x. If I need to change the API in any non-backwards compatible way, it will be done on a separate branch so that existing clients can continue to use 1.0 without breakage.
Happy logging!