title: Why is Net::HTTP's set_debug_output dangerous if used in production?
body: <p>There is a very useful method in <code>Net::HTTP</code> library that gives ability to debug HTTP requests.</p>
  <p>Here is what documentation says about that:</p>
  <blockquote>
  <p><code>set_debug_output(output)</code></p>
  <p><em><strong>WARNING</strong> This method causes serious security hole. Never use this method in production</em> code.</p>
  <p>Set an output stream for debugging.</p>
  </blockquote>
  <p><a href="http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html#M001371" rel="noreferrer">http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html#M001371</a></p>
  <p>What security hole is mentioned here?</p>