log4rs is a highly configurable logging framework modeled after Java's Logback and log4j libraries. If you are using the file rotation in your configuration there is a known substantial performance issue so listen up! By default the gzip feature is enabled and when rolling files it will zip log archives automatically. This is a problem when the log archives are large as the zip happens in the main thread and will halt the process while the zip is completed. Be advised that the gzip feature will be removed from default features as of 1.0.

Features

  • Use the background_rotation feature which spawns an os thread to do the compression
  • Disable the gzip feature with --no-default-features
  • Requires Rust 1.46
  • Highly configurable logging framework
  • Modeled after Java's Logback and log4j libraries
  • By default the gzip feature is enabled and when rolling files it will zip log archives automatically

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, JSON

License

Apache License V2.0

Follow log4rs

log4rs Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of log4rs!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Frameworks, Rust JSON Software

Registered

2023-10-18