Best of / Rust crates / logging and tracing
Best of · ranked by real use · data Oct 24, 2026
Best Rust crates for logging and tracing
Short answerBy real use, the top Rust crates for logging and tracing are log (3.9M a day), tracing (2.6M a day), tracing-subscriber (1.9M a day). log is our default pick: 3,895,505 real downloads a day and 31,897 dependents. 1 of these 4 shipped in the last 90 days.
Our picks
- Default pick: log. The most used that still ships releases, so the most answered questions and the likeliest to already be in your tree.
- Most recently released: env_logger (4 months ago).
The ranking
| # | Crate | Real downloads a day | Dependents | Trend vs field | Last release | What it is (its own description) |
|---|---|---|---|---|---|---|
| 1 | log Foundational | 3,895,505 | 31,897 | -3% | 2mo | A lightweight logging facade for Rust |
| 2 | tracing Foundational | 2,611,879 | 46,220 | +1% | 10mo | Application-level tracing for Rust |
| 3 | tracing-subscriber Foundational | 1,919,774 | 20,192 | -3% | 7mo | Utilities for implementing and composing `tracing` subscribers |
| 4 | env_logger Foundational | 1,046,756 | 12,204 | -9% | 4mo | A logging implementation for `log` which is configured via an environment variable |
Rules
Candidates: crates whose own README says they do this job, picked by hand (log, tracing, env_logger, tracing-subscriber, slog, fern, simplelog, log4rs, flexi_logger, pretty_env_logger); one appears when we have 80+ days of crates.io data for it. Ranked by real downloads a day (quiet-day median, release-day spikes removed), crates.io data Oct 24, 2026. The default pick is the top crate that shipped a release in the last 2 years. Downloads measure use, not quality, and crates that other libraries pull in rank above tools you add yourself: read each description for fit.
Up next
Another best-of list: Same rules, same data.Best Rust crates for command-line argument parsingRead it next →