diff options
-rw-r--r-- | lib/chef/data_collector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb index 82c41edfdc..102dfbdf64 100644 --- a/lib/chef/data_collector.rb +++ b/lib/chef/data_collector.rb @@ -331,7 +331,7 @@ 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}: #{message}") + 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 |