Decision Workspace
env_logger vs env_filter vs log4rs
Side-by-side comparison of Rust crates
73
env_logger
growingv0.11.11
A logging implementation for `log` which is configured via an environment variable.
76
env_filter
stablev2.0.0
Filter log events using environment variables
61
log4rs
growingv1.4.0
A highly configurable multi-output logging implementation for the `log` facade
Core Metrics
| env_logger | env_filter | log4rs | |
|---|---|---|---|
| Health Score | 73 | 76 | 61 |
| Total Downloads | 499.3M | 158.9M | 21.6M |
| 30d Downloads | 13.9M | 8.7M | 307.1K |
| Dependents | 150.6K | 521 | 4.1K |
| Releases | 59 | 8 | 43 |
| Last Updated | 18d ago | 18d ago | 311d ago |
| Age | 11y 5m | 2y 5m | 11y 5m |
Health Breakdown
env_logger
Maintenance
17
Quality
17
Community
19
Popularity
8
Documentation
12
env_filter
Maintenance
20
Quality
19
Community
17
Popularity
8
Documentation
12
log4rs
Maintenance
8
Quality
20
Community
14
Popularity
8
Documentation
11
Technical Details
| env_logger | env_filter | log4rs | |
|---|---|---|---|
| Version | 0.11.11 | 2.0.0 | 1.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 3 | 29 |
| Crate Size | 32KB | 15KB | 78KB |
| Features | 7 | 3 | 25 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.71 | 1.71 | 1.75 |
| Owners | 6 (team) | 2 (team) | 2 |
Links
Quick Verdict
- •env_filter leads with a health score of 76/100, but none of the options score above 80.
- •env_logger has the most downloads (499.3M), suggesting wider adoption.
- •env_logger is depended on by 150.6K crates — strongest ecosystem trust.
- •env_logger is pre-1.0 — API may change.