lib/ohai/plugins/scala.rb in ohai-13.12.6 vs lib/ohai/plugins/scala.rb in ohai-14.0.28
- old
+ new
@@ -27,10 +27,10 @@
# Scala code runner version 2.12.1 -- Copyright 2002-2016, LAMP/EPFL and Lightbend, Inc.
if so.exitstatus == 0
scala[:version] = so.stderr.match(/.*version (\S*)/)[1]
end
rescue Ohai::Exceptions::Exec
- Ohai::Log.debug('Plugin Scala: Could not shell_out "scala -version". Skipping data')
+ logger.trace('Plugin Scala: Could not shell_out "scala -version". Skipping data')
end
languages[:scala] = scala unless scala.empty?
end
end