lib/ohai/system.rb in ohai-8.22.1 vs lib/ohai/system.rb in ohai-8.23.0
- old
+ new
@@ -218,13 +218,9 @@
Ohai::Log.debug("Running Ohai with the following configuration: #{Ohai.config.configuration}")
end
def configure_logging
- return if Ohai::Log.configured?
-
- Ohai::Log.init(Ohai.config[:log_location])
-
if Ohai.config[:log_level] == :auto
Ohai::Log.level = :info
else
Ohai::Log.level = Ohai.config[:log_level]
end