This release contains several new features. It also increases the minimum supported Rust version (MSRV) to Rust 1.63.0.
- rolling: add option to automatically delete old log files (#2323)
- non_blocking: allow worker thread name to be configured (#2365)
- rolling: add a builder for constructing
RollingFileAppenders (#2227) - rolling: add
Builder::filename_suffixparameter (#2225) - non_blocking: remove Sync bound from writer for NonBlocking (#2607)
- non_blocking: name spawned threads (#2219)
- Increased minimum supported Rust version (MSRV) to 1.63.0+ (#2793)
- Increased minimum
tracing-subscriberversion to 0.3.18 (#2790)
This release fixes a bug in RollingFileAppender that could result
in a failure to rotate the log file, or in panics in debug mode.
- rolling: Fixed a panic that prohibited rolling files over. (#1989)
This release adds an implementation of the MakeWriter trait for
RollingFileAppender, allowing it to be used without wrapping in a
NonBlocking writer.
This release increases the minimum supported Rust version to 1.53.0.
- rolling: Added
MakeWriterimplementation forRollingFileAppender(#1760)
- Updated minimum supported Rust version (MSRV) to 1.53.0 (#1851)
parking_lot: updated to v0.12 (#1878)
This breaking change release adds support for the new v0.3.x series of
tracing-subscriber. In addition, it resolves the security advisory for the
chrono crate, RUSTSEC-2020-0159.
This release increases the minimum supported Rust version to 1.51.0.
- Updated
tracing-subscriberto v0.3.x (#1677) - Changed
NonBlocking::error_counterto return anErrorCountertype, rather than anArc<AtomicU64>(#1675)
- Updated
tracing-subscriberto v0.3.x (#1677)
- non-blocking: Fixed compilation on 32-bit targets (#1675)
- rolling: Replaced
chronodependency withtimeto resolve RUSTSEC-2020-0159 (#1652) - rolling: Fixed an issue where
RollingFileAppenderwould fail to print errors that occurred while flushing a previous logfile (#1604)
Thanks to new contributors @dzvon and @zvkemp for contributing to this release!
- non_blocking: Updated
crossbeam-channeldependency to 0.5 (#1031)
- non_blocking: Fixed a race condition when logging on shutdown (#1125)
- Several documentation improvements (#1109, #1110, #941, #953)
- rolling:
minutelyrotation schedule to rotate the log file once every minute (#748)
- Fixed broken links in docs (#718)
tracing-appendernow only enables the necessarytracing-subscriber's feature flags, rather than all of them (#779)
Thanks to new contributors @ericjheinz and @sourcefrog for contributing to this release!
- Initial release