# env_logger

> Rust logger configured with the RUST_LOG environment variable

Source: https://talira.ai/catalog/env-logger-8p0swdf4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / logging](https://talira.ai/categories/libraries/logging), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT OR Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Rust CLI Working Group](https://talira.ai/orgs/rust-cli-wg.md)

env_logger is a Rust crate that prints the messages a program logs through the `log` crate, with the levels and modules to show chosen at run time by the `RUST_LOG` environment variable (`RUST_LOG=info`, or `RUST_LOG=my_app=debug` for one module). It's meant for executables: libraries log through `log` and leave the choice of logger to the program. Tests can turn it on to see log output while they run.

## Links

- GitHub: https://github.com/rust-cli/env_logger
- Docs: https://docs.rs/env_logger

## Problems it solves

- see log messages from my Rust program in the terminal
- turn debug logging on for one module of my Rust app without recompiling
- print log output from the log crate while my Rust tests run

## Features

- show a Rust program's log messages, filtered by the RUST_LOG environment variable
- per-module log levels
- log output in tests

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.88, adoption 0.61, momentum 0.31, community 0.76, backing 0.30, extensibility 0.00.

- last commit 9 days ago
- 42 commits in the last 90 days
- latest release v0.11.12 9 days ago
- 1.1k GitHub stars
- 80 contributors
- accepts sponsorship (Github)
- backed by Rust CLI Working Group

## Alternatives

- [simple_logger](https://talira.ai/catalog/simple-logger-jr89ga2h.md): A Rust logger that prints every message in a readable format
- [tracing](https://talira.ai/catalog/tracing-3s76n9jk.md): Application-level tracing and structured diagnostics for Rust

## Sources

[^1]: https://github.com/rust-cli/env_logger/blob/main/Cargo.toml (checked 26 Nov 2026)
