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

Prevent stdout logging #29

Closed wjgilmore closed 10 years ago

wjgilmore commented 11 years ago

As asin uses httpi, I presumed one could disable the default stdout logging using:

HTTPI.log = false

However this does not suppress the lookup response output. Is there some other setting one could use to suppress this output? It is of course useful for debugging but otherwise unnecessary.

Jason

phoet commented 11 years ago

if you don't want any logging output you can set the logger to nil

client.configure :logger => nil