title: How to control HTTParty output using a rails logger
body: <p><a href="http://www.ruby-doc.org/gems/docs/b/bartzon-httparty-0.6.1/HTTParty/ClassMethods.html#method-i-debug_output" rel="nofollow">http://www.ruby-doc.org/gems/docs/b/bartzon-httparty-0.6.1/HTTParty/ClassMethods.html#method-i-debug_output</a> </p>
  
  <p>How should I control the HTTParty output using a rails logger? I don't want to see this on the staging or prod environment.</p>
  
  <pre><code>class FooResource
     include HTTParty
     persistent_connection_adapter
     debug_output $stderr
  ...
  }
  </code></pre>