Decision Workspace
env_filter vs env_logger vs log4rs
Side-by-side comparison of Rust crates
76
env_filter
stablev2.0.0
Filter log events using environment variables
73
env_logger
growingv0.11.11
A logging implementation for `log` which is configured via an environment variable.
61
log4rs
growingv1.4.0
A highly configurable multi-output logging implementation for the `log` facade
Core Metrics
| env_filter | env_logger | log4rs | |
|---|---|---|---|
| Health Score | 76 | 73 | 61 |
| Total Downloads | 158.9M | 499.3M | 21.6M |
| 30d Downloads | 8.7M | 13.9M | 307.1K |
| Dependents | 521 | 150.6K | 4.1K |
| Releases | 8 | 59 | 43 |
| Last Updated | 18d ago | 18d ago | 311d ago |
| Age | 2y 5m | 11y 5m | 11y 5m |
Health Breakdown
env_filter
Maintenance
20
Quality
19
Community
17
Popularity
8
Documentation
12
env_logger
Maintenance
17
Quality
17
Community
19
Popularity
8
Documentation
12
log4rs
Maintenance
8
Quality
20
Community
14
Popularity
8
Documentation
11
Technical Details
| env_filter | env_logger | log4rs | |
|---|---|---|---|
| Version | 2.0.0 | 0.11.11 | 1.4.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 5 | 29 |
| Crate Size | 15KB | 32KB | 78KB |
| Features | 3 | 7 | 25 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.71 | 1.71 | 1.75 |
| Owners | 2 (team) | 6 (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.