estk/log4rs
 Watch   
 Star   
 Fork   
2025-09-06 00:32:30
log4rs

v1.4.0 -- Key Value Support

Fixed

  • Two minor typo fixes in Configuration.md. (#425 @RobertJacobsonCDC)

New

  • Support for Key-Value pairs (#362 @ellttBen)
  • Add time serialization into log file (#374 @TuEmb)
  • Public TimeTriggerConfig fields (#370 @Dirreke)
  • Left truncation unicode support (#285 @moh-eulith)
  • Zstd compression for log files (#363 @cristian-prato)
  • Add onstartup trigger (#343 @Dirreke)
  • Add config parsing tests (#357 @bconn98)
  • Add handle retrieval after log initialization (#393 @izolyomi)

Changed

  • update mock_instant and small refactor (#424 @CosminPerRam)
  • remove oncecell dependency (#423 @CosminPerRam)
  • MSRV to 1.75
  • Update deps: (thread-id, thiserror, mock_instant, rand)
  • Remove derivative crate (#408 @royb3)
  • Remove where_clauses_object_safety lint allow (#377 @Dirreke)
  • Refactor of time trigger logic (#347 @Dirreke)
  • Readme updated (#361 @bconn98)
2025-05-29 12:00:37
log4rs

v1.4.0-rc1

New

  • Support for Key-Value pairs (#362 @ellttBen)
  • Add time serialization into log file (#374 @TuEmb)
  • Public TimeTriggerConfig fields (#370 @Dirreke)
  • Left truncation unicode support (#285 @moh-eulith)
  • Zstd compression for log files (#363 @cristian-prato)
  • Add onstartup trigger (#343 @Dirreke)
  • Add config parsing tests (#357 @bconn98)
  • Add handle retrieval after log initialization (#393 @izolyomi)

Changed

  • MSRV to 1.75
  • Update deps: (thread-id, thiserror, mock_instant, rand)
  • Remove derivative crate (#408 @royb3)
  • Remove where_clauses_object_safety lint allow (#377 @Dirreke)
  • Readme updated (#361 @bconn98)

New Contributors

Full Changelog: https://github.com/estk/log4rs/compare/v1.3.0...v1.4.0-rc1

2024-02-10 10:45:53
log4rs

v.1.3.0

See the changelog for more details.

New

  • Add debug and release formatters
  • Documentation on configuring the tool
  • Code Coverage CI
  • CVE Audit CI
  • EditorConfig CI
  • Code Owners
  • NO_COLOR, CLICOLOR, CLICOLOR_FORCE controls
  • Example of inline configuration with file rotation
  • Time Based Trigger

Changed

  • Update minimum supported rust to 1.69 for CVE-2020-26235
  • Update arc-swap to 1.6
  • Update log to 0.4.20
  • Update humantime to 2.1
  • Update serde_yaml to 0.9
  • Update toml to 0.8
  • Update derivative to 2.2
  • Update tempfile to 3.8
  • Update chrono to 0.2.23
  • Moved level field before message in json format
  • Legacy test moved to examples

Fixed

  • README typo regarding building for dev on windows
  • Apply editorconfig
  • Swap rustfmt configuration to imports_granularity="Crate" over deprecated merge_imports = true
2022-10-12 02:57:21
log4rs

v1.2.0

See the changelog for more details.

Changed

  • Update minimum supported rust to 1.56 for edition 2021

Fixed

2022-04-22 23:04:43
log4rs

v1.1.1

See the changelog for more details.

New

Changed

  • Removed palaver
  • Update parking_lot to 0.11.
  • Update minimum supported rust to 1.49 for parking_lot

Fixed

  • #253
2020-05-06 08:05:29
log4rs

v0.12.0

New

  • Derived Clone for Handle.

Changed

Fixed

  • Build warnings
  • Docs typo
2020-03-11 09:12:50
log4rs

v0.11.0

A performance issue was discovered with gzip and rolling logs, the background_rotation feature was added to mitigate this by spawning a background thread to perform the rotation in. Shout out to @yakov-bakhmatov for the PR!

New

  • background_rotation feature which rotates and compresses log archives in a background thread.

Changed

  • Deprecate xml feature in preparation for removal.
  • Simplify and increase visibility of docs.
  • Swap some synchronization primitives to use parking_lot implementations.
2020-01-30 07:07:58
log4rs

v0.10.0

This is a big release as we're moving to rust 2018 edition!

New

  • More badges in the readme.

Changed

  • Use rust 2018 edition.
  • Minimum rust version is 1.38.0
  • Update arcswap, serde-value and serde-xml-rs.

Fixed

  • Deprecate len method on rolling_file.
  • Windows build issue after 2018 edition.
2019-04-03 12:25:21
log4rs
2019-04-03 12:20:54
log4rs