Method: Chef::Application#resolve_log_level

Defined in:
lib/chef/application.rb

#resolve_log_levelObject

The :auto formatter defaults to :warn with the formatter and :info with the logger



226
227
228
229
230
231
232
# File 'lib/chef/application.rb', line 226

def resolve_log_level
  if chef_config[:log_level] == :auto
    using_output_formatter? ? :warn : :info
  else
    chef_config[:log_level]
  end
end