hashicorp / go-discover

Discover nodes in cloud environments
Mozilla Public License 2.0
563 stars 123 forks source link

AWS provider outputs debug statements even when passing ioutil.Discard to log #154

Closed djmgit closed 4 years ago

djmgit commented 4 years ago

I am using go-discover as a package from within my go application. Even when I am passing ioutil.Discard to log, I am getting the following debug outputs.

2020/07/12 21:32:40 [DEBUG] discover-aws: Using region=<> tag_key=<> tag_value=asg_1 addr_type=<>
2020/07/12 21:32:40 [DEBUG] discover-aws: Static credentials provided

This is related to #110 .