smithy-lang / smithy-rs

Code generation for the AWS SDK for Rust, as well as server and generic smithy client generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix `env_logger` compatibility

landonxjames opened this issue · comments

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.