Fix `env_logger` compatibility
landonxjames opened this issue · comments
Landon James commented
When following the Enable logging of AWS SDK for Rust code guide it initially suggests using env_logger::init()
for collecting simple logs. At some point this seems to have broken and it no longer outputs any logs (at least using the code from the guide). tracing_subscriber::fmt::init();
still works as expected, so something is different between how we are handling the logs in these two situations.