diff options
Diffstat (limited to 'lib/chef/http/json_output.rb')
-rw-r--r-- | lib/chef/http/json_output.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/http/json_output.rb b/lib/chef/http/json_output.rb index dc363cdc54..25f1380ceb 100644 --- a/lib/chef/http/json_output.rb +++ b/lib/chef/http/json_output.rb @@ -60,9 +60,9 @@ class Chef end [http_response, rest_request, return_value] else - Chef::Log.debug("Expected JSON response, but got content-type '#{http_response['content-type']}'") + Chef::Log.trace("Expected JSON response, but got content-type '#{http_response['content-type']}'") if http_response.body - Chef::Log.debug("Response body contains:\n#{http_response.body.length < 256 ? http_response.body : http_response.body[0..256] + " [...truncated...]"}") + Chef::Log.trace("Response body contains:\n#{http_response.body.length < 256 ? http_response.body : http_response.body[0..256] + " [...truncated...]"}") end return [http_response, rest_request, http_response.body.to_s] end |