title: How to set log level in faraday
body: <p>I recently switched my http client to faraday and everything works as intended. I have the following piece of code to create a connection:</p>
  
  <pre><code>@connection = Faraday.new(:url =&gt; base_url) do |faraday|
                faraday.use Custim::Middleware
                faraday.request :url_encoded             # form-encode POST params
                faraday.request :json
                faraday.response :json, :content_type =&gt; /\bjson$/
                faraday.response :logger
                faraday.adapter Faraday.default_adapter  # make requests with Net::HTTP
  </code></pre>
  
  <p>The faraday logger helps print all the logs on the console output. However i do not want to print all log levels on the  console output. How do i set the log level to just print say the error logs ? . </p>
  
  <p>i am using faraday version 0.8.9 </p>