diff options
author | Thom May <thom@may.lt> | 2016-11-22 08:32:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-22 08:32:17 +0000 |
commit | 97f5dea99e153d09aef1bfeb867bbd16c035ba68 (patch) | |
tree | d16a98fb998035eea41b94f9fa6cf5ea4b396b63 | |
parent | b488d5ba2afec65939cb4a267151fd26a21b3d1a (diff) | |
parent | 539696886570ec2a82cdb1bb684a383ce683f88e (diff) | |
download | chef-97f5dea99e153d09aef1bfeb867bbd16c035ba68.tar.gz |
Merge pull request #5570 from chef/adamleff/data_collector_debug_log
Data Collector debug log should output JSON
-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 |