lib/chef/application.rb in chef-0.7.16 vs lib/chef/application.rb in chef-0.8.2
- old
+ new
@@ -66,10 +66,10 @@
end
# Initialize and configure the logger
def configure_logging
Chef::Log.init(Chef::Config[:log_location])
- Chef::Log.level(Chef::Config[:log_level])
+ Chef::Log.level = Chef::Config[:log_level]
end
# Called prior to starting the application, by the run method
def setup_application
raise Chef::Exceptions::Application, "#{self.to_s}: you must override setup_application"