summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2016-04-20 14:30:48 -0700
committerTim Smith <tsmith84@gmail.com>2016-04-22 09:35:58 -0700
commit972c55c43821d9f0886396d0633dd9b9920443fb (patch)
tree4af2eabab6ae92220e80260ea0cc8ca33aaf2a02
parent7c7fa51965af0055efb16f9aca6f0bc90b080128 (diff)
downloadohai-972c55c43821d9f0886396d0633dd9b9920443fb.tar.gz
Add debug logging for the complete merged config
-rw-r--r--lib/ohai/system.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ohai/system.rb b/lib/ohai/system.rb
index c9fe2e98..cc332164 100644
--- a/lib/ohai/system.rb
+++ b/lib/ohai/system.rb
@@ -215,6 +215,8 @@ module Ohai
!Ohai.config[:plugin_path].include?(Ohai.config[:directory])
Ohai.config[:plugin_path] << Ohai.config[:directory]
end
+
+ Ohai::Log.debug("Running Ohai with the following configuration: #{Ohai.config.configuration}")
end
def configure_logging