summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-08 10:22:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-02-08 10:22:40 -0800
commit76d435b6c2e4b8886da7c05121f54807b9e685bf (patch)
tree95c71a1e1a34490a3975bceb9c76adf44d3bfb9a
parent05b5f4ae2b27bfd759c960ad1378a61e9895b606 (diff)
downloadchef-76d435b6c2e4b8886da7c05121f54807b9e685bf.tar.gz
remove unnecessary debug statement
pretty sure Chef::HTTP already debug logs requests Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/data_collector.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb
index acd42c355e..bcd15ea323 100644
--- a/lib/chef/data_collector.rb
+++ b/lib/chef/data_collector.rb
@@ -2,7 +2,7 @@
# Author:: Adam Leff (<adamleff@chef.io>)
# Author:: Ryan Cragun (<ryan@chef.io>)
#
-# Copyright:: Copyright 2012-2016, Chef Software Inc.
+# Copyright:: Copyright 2012-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -333,7 +333,6 @@ class Chef
def send_to_data_collector(message)
return unless data_collector_accessible?
- Chef::Log.debug("data_collector_reporter: POSTing the following message to #{data_collector_server_url}: #{Chef::JSONCompat.to_json(message)}")
http.post(nil, message, headers)
end