phoet / asin

:books: :package: Amazon Simple INterface - Support for ItemLookup, SimilarityLookup, Search, BrowseNode and Cart Operations
http://asin.herokuapp.com/
167 stars 59 forks source link

Too much debug info #42

Closed ghost closed 9 years ago

ghost commented 9 years ago

How do I turn off the debug info?

phoet commented 9 years ago

By default asin is not logging anything. What Kind of debug info are you talking about? What is the configuration you are using?

If you expect to get reasonable help from opening an issue, I'd recommend that you try to give more context information. Being specific is important.

ghost commented 9 years ago

I was getting tons of debug info. I was able to turn it off with: config.logger = nil I recommend making that the default because that's not fun to see.

phoet commented 9 years ago

@monkeysuffrage that's exactly what you need to do. i thought that this was actually the default, but it's not... https://github.com/phoet/asin/blob/master/lib/asin/configuration.rb#L37

do you want to create a PR for it?

ghost commented 9 years ago

Not if I'm the only one who has a problem with it, I guess it's ok. Thanks for the gem, it works great.

On Mon, Jun 29, 2015 at 2:32 PM, Peter Schröder notifications@github.com wrote:

@monkeysuffrage https://github.com/monkeysuffrage that's exactly what you need to do. i thought that this was actually the default, but it's not... https://github.com/phoet/asin/blob/master/lib/asin/configuration.rb#L37

do you want to create a PR for it?

— Reply to this email directly or view it on GitHub https://github.com/phoet/asin/issues/42#issuecomment-116476989.