Rust Logging

Open-source Rust projects categorized as Logging

Top 23 Rust Logging Projects

  1. tracing

    Application level tracing for Rust.

    Project mention: Show HN: Unbug – Rust macros for programmatically invoking breakpoints | news.ycombinator.com | 2024-11-20
  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. greptimedb

    Open-source, cloud-native, unified observability database for metrics, logs and traces, supporting SQL/PromQL/Streaming. Available on GreptimeCloud.

    Project mention: Development Environment Configuration | dev.to | 2025-01-19

    Time Series: Greptime, Influx, Loki, Mimir, Prometheus, Tempo, Victoria Metrics

  4. angle-grinder

    Slice and dice logs on the command line

    Project mention: Ngtop – Request analytics from the Nginx access logs | news.ycombinator.com | 2024-07-30

    Found it much easier to just used structured logs and slice them with [angle grinder](https://github.com/rcoh/angle-grinder)

  5. log

    Logging implementation for Rust (by rust-lang)

  6. opentelemetry-rust

    The Rust OpenTelemetry implementation

    Project mention: OpenTelemetry and vendor neutrality: how to build an observability strategy | news.ycombinator.com | 2024-09-18

    Why are you accusing me of posting an LLM reply?

    I just shared that I enjoyed using and contributing to OpenTelemetry. I never used an LLM. Do I really need to prove that I'm human?

    - a couple PRs I posted to Rust impl: https://github.com/open-telemetry/opentelemetry-rust/pulls?q...

  7. slog

    Structured, contextual, extensible, composable logging for Rust

    Project mention: Launch HN: Patchwork (YC W24) – Automatically add structured logs to your code | news.ycombinator.com | 2024-08-29

    > Refactoring the logs in existing code bases today is a manual slog.

    slog is shorthand for structured logs[1][2][3][4]. So refactoring the logs [without a tool] is manually converting them to a slog. You have a great pun on your hands.

    > Speaking from experience?

    I have a notebook laying around with a loose plan on how to get the most compression possible out of a log file. It would use ML to figure out what the log strings would be - but I think your idea of scanning the executable is even more clever. Anyway, once it knows the log strings you can probably stuff it into off the shelf column storage for great compression rates. And if the compression rates are good enough then searches should be much much faster as well.

    Who do you reckon are the more important existing competitors? Grafana labs or Sonarqube?

    [1] https://github.com/slog-rs/slog

    [2] https://github.com/gookit/slog

    [3] https://github.com/kala13x/slog

    [4] https://pkg.go.dev/log/slog

  8. log4rs

    A highly configurable logging framework for Rust

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. defmt

    Efficient, deferred formatting for logging on embedded systems

    Project mention: Lossless Log Aggregation | news.ycombinator.com | 2024-12-05

    I've built a logging system like that, in an embedded context, and defmt (https://github.com/knurling-rs/defmt) is an open-source implementation of the same context. What's most handy about it is that logging continuous sensor data and logging events can both use the same framework.

  11. flowgger

    A fast data collector in Rust

  12. venator

    Venator: a desktop app for viewing logs and traces from OpenTelemetry and the Rust tracing ecosystem (by kmdreko)

    Project mention: Venator: A log and trace viewer for Rust tracing and OpenTelemetry | news.ycombinator.com | 2025-01-14
  13. spdlog-rs

    Fast, highly configurable Rust logging crate

  14. tauri-plugin-log

    [READ ONLY] This repository is a mirror, for issue tracking and development head to: https://github.com/tauri-apps/plugins-workspace

  15. drep

    dynamic regular expression print

  16. logforth

    A versatile and extensible logging implementation.

    Project mention: Logforth: Rust's versatile and extensible logging implementation | news.ycombinator.com | 2024-08-04
  17. Logria

    A powerful CLI tool that puts log aggregation at your fingertips.

  18. logdna-agent-v2

    The blazingly fast, resource efficient log collection client

  19. workflow-rs

    Rust application development framework for native and web applications

  20. linemux

    Asynchronous tailing library in Rust

  21. async

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

  22. mini-functions

    A a highly performant utility and wrapper functions library for Rust that has been carefully designed with optimization and efficiency in mind. 🦀

  23. tracing-filter

    A replacement for tracing_subscriber EnvFilter

  24. stumpless-logger

    CLI tool to log information to a variety of destinations, local and remote.

  25. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Rust Logging discussion

Log in or Post with

Rust Logging related posts

Index

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

# Project Stars
1 tracing 5,895
2 greptimedb 5,139
3 angle-grinder 3,589
4 log 2,335
5 opentelemetry-rust 2,153
6 slog 1,634
7 log4rs 1,046
8 defmt 1,000
9 flowgger 855
10 venator 170
11 spdlog-rs 126
12 tauri-plugin-log 117
13 drep 90
14 logforth 85
15 Logria 75
16 logdna-agent-v2 70
17 workflow-rs 62
18 linemux 48
19 async 28
20 breadcrumbs-rs 20
21 mini-functions 14
22 tracing-filter 9
23 stumpless-logger 9

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?