Rust Logging

Open-source Rust projects categorized as Logging | Edit details

Top 11 Rust Logging Projects

  • GitHub repo angle-grinder

    Slice and dice logs on the command line

    Project mention: Power Tools for Analyzing your Heroku logs | | 2021-08-17

    Your log data is a treasure-trove of information about your application, but it can be overwhelming. This post will dig into several strategies for extracting metrics and other helpful information from your logs. We’ll start with the basics of the heroku logs command, then we’ll dig into the real fun using a tool called Angle Grinder.

  • GitHub repo tracing

    Application level tracing for Rust.

    Project mention: Instrument a Rust Application with OpenTelemetry | | 2021-11-23

    Yup, tracing-opentelemetry is actually called out on the core tracing crate page ( and it works pretty well.

    I gave a quick look through the article's samples and I think the tracing crate has much better ergonomics. Wrapping a lot of code in lambdas to handle spans ends up making a code base pretty nasty in my experience.

    Being able to simply tag a function for instrumentation (and skip/choose which arguments to include), the ability to enter/exit spans as one liners rather than wrapping a chunk of code in a block, and being able to easily add additional attributes/data to those spans without type wrangling are all quality of life improvements that I don't want to give up.

    The article's crates might be able to do the same things, I haven't looked into its documentation.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo log

    Logging implementation for Rust (by rust-lang)

    Project mention: "This paper examines this most frequently deployed of software architectures: the BIG BALL OF MUD. A BIG BALL OF MUD is a casually, even haphazardly, structured system. Its organization, if one can call it that, is dictated more by expediency than design. " | | 2021-11-19
  • GitHub repo slog

    Structured, contextual, extensible, composable logging for Rust

  • GitHub repo flowgger

    A fast data collector in Rust

  • GitHub repo log4rs

    A highly configurable logging framework for Rust

  • GitHub repo opentelemetry-rust

    OpenTelemetry API and SDK for Rust

    Project mention: RillRate - embeddable real-time tracing dashboard (full-stack Rust!) | | 2021-03-16

    Would love to see this work with OpenTelemetry:

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo defmt

    Efficient, deferred formatting for logging on embedded systems

    Project mention: redirecting printf to UART. | | 2021-11-07

    I'd note the existence of defmt if you're lucky enough to be using Rust. It works by building a table of all the format string literals in the program at compile time, replacing println! to send the index (and any parameters) and having a custom terminal interpreter to actually do the formatting. FAR less time wasted.

  • GitHub repo drep

    dynamic regular expression print

    Project mention: Next-gen networking infrastructure with Rust and Tokio (Carl and Sean) | | 2021-02-21

    That’s the thing I loved about Rust when I was working on

  • GitHub repo async

    Asynchronous drain for slog-rs v2 (by slog-rs)

    Project mention: Hey Rustaceans! Got an easy question? Ask here (8/2021)! | | 2021-02-22

    I get the impression most of the time people are doing their Rust logging in the business thread, as opposed to using something like slog-async. For example, this repo only has 18 stars, whilst slog has 1.1k stars. Is it right to draw the conclusion that logging in a separate thread using an mpsc channel or something isn't typically a good idea?

  • GitHub repo linemux

    Asynchronous tailing library in Rust

    Project mention: Hey Rustaceans! Got an easy question? Ask here (48/2021)! | | 2021-11-29

    If you want to build this yourself, you'll want to build on something like notify - there are libraries like linemux built on top of it that will do a lot of this for you too.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-11-29.

Rust Logging related posts


What are some of the best open-source Logging projects in Rust? This list will help you:

Project Stars
1 angle-grinder 2,219
2 tracing 1,962
3 log 1,209
4 slog 1,180
5 flowgger 645
6 log4rs 586
7 opentelemetry-rust 481
8 defmt 293
9 drep 80
10 async 21
11 linemux 11
Find remote jobs at our new job board There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives