Decision Workspace
env_filter vs env_logger vs log4rs
Side-by-side comparison of Rust crates
75
env_filter
stablev1.0.1
Filter log events using environment variables
74
env_logger
growingv0.11.10
A logging implementation for `log` which is configured via an environment variable.
63
log4rs
growingv1.4.0
A highly configurable multi-output logging implementation for the `log` facade
Core Metrics
| env_filter | env_logger | log4rs | |
|---|---|---|---|
| Health Score | 75 | 74 | 63 |
| Total Downloads | 113.6M | 413.3M | 18.6M |
| 30d Downloads | 11.7M | 24.0M | 874.8K |
| Dependents | 435 | 135.0K | 3.8K |
| Releases | 7 | 58 | 43 |
| Last Updated | 4d ago | 4d ago | 203d ago |
| Age | 2y 2m | 11y 2m | 11y 2m |
Health Breakdown
env_filter
Maintenance
19
Quality
19
Community
17
Popularity
8
Documentation
12
env_logger
Maintenance
18
Quality
17
Community
19
Popularity
8
Documentation
12
log4rs
Maintenance
10
Quality
20
Community
14
Popularity
8
Documentation
11
Technical Details
| env_filter | env_logger | log4rs | |
|---|---|---|---|
| Version | 1.0.1 | 0.11.10 | 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 | 2 | 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 75/100, but none of the options score above 80.
- •env_logger has the most downloads (413.3M), suggesting wider adoption.
- •env_logger is depended on by 135.0K crates — strongest ecosystem trust.
- •env_logger is pre-1.0 — API may change.