diff --git a/CHANGELOG.md b/CHANGELOG.md index 43fd588a3..9bd495371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Unreleased - Remove the use of `Omnibus.root` in `BuildVersion#initializer`. This removes the many deprecation warnings that print on each software load. - Output the current command in debug output when shelling out - Output the current environment in debug output when shelling out +- Change the information that is displayed at different log levels with respect to shelling out. In `warn` mode, Omnibus will only display warnings/deprecations; you will not see any build commands or output. In `info` mode, Omnibus will display the commands and environment that are being used; you will not see the output from the build (unless it fails). In `debug` mode, Omnibus will display the commands, environment, and output (livestream) from commands. v3.1.0 (May 14, 2014) diff --git a/lib/omnibus/util.rb b/lib/omnibus/util.rb index 5eed808e7..32a2f1be7 100644 --- a/lib/omnibus/util.rb +++ b/lib/omnibus/util.rb @@ -50,14 +50,14 @@ def shellout(*args) # Log any environment options given unless options[:environment].empty? - Omnibus.logger.debug { 'Environment:' } + Omnibus.logger.info { 'Environment:' } options[:environment].each do |key, value| - Omnibus.logger.debug { " #{key.to_s.upcase}=#{value.inspect}" } + Omnibus.logger.info { " #{key.to_s.upcase}=#{value.inspect}" } end end # Log the actual command - Omnibus.logger.debug { "$ #{args.join(' ')}" } + Omnibus.logger.info { "$ #{args.join(' ')}" } cmd = Mixlib::ShellOut.new(*args, options) cmd.run_command