Decision Workspace
env_filter vs env_logger vs log4rs
Side-by-side comparison of Rust crates
69
env_filter
stablev1.0.1
Filter log events using environment variables
70
env_logger
growingv0.11.10
A logging implementation for `log` which is configured via an environment variable.
62
log4rs
growingv1.4.0
A highly configurable multi-output logging implementation for the `log` facade
Core Metrics
| env_filter | env_logger | log4rs | |
|---|---|---|---|
| Health Score | 69 | 70 | 62 |
| Total Downloads | 136.3M | 460.0M | 20.4M |
| 30d Downloads | 11.9M | 25.1M | 856.9K |
| Dependents | 481 | 143.9K | 3.9K |
| Releases | 7 | 58 | 43 |
| Last Updated | 63d ago | 63d ago | 262d ago |
| Age | 2y 4m | 11y 4m | 11y 4m |
Health Breakdown
env_filter
Maintenance
13
Quality
19
Community
17
Popularity
8
Documentation
12
env_logger
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
log4rs
Maintenance
9
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_logger leads with a health score of 70/100, but none of the options score above 80.
- •env_logger is depended on by 143.9K crates — strongest ecosystem trust.
- •env_logger is pre-1.0 — API may change.