summaryrefslogtreecommitdiff
path: root/chef/bin
diff options
context:
space:
mode:
authorChristopher Brown <cb@opscode.com>2009-12-11 09:16:28 -0800
committerChristopher Brown <cb@opscode.com>2009-12-11 09:16:28 -0800
commite524f90359435ab4fe9af849c2bd8b47b709a8e3 (patch)
tree57f5de8a540f8f0fbdd30159feafb216ef3eceb4 /chef/bin
parent308296851ad79922779b4968a8e64499e6aea069 (diff)
downloadchef-e524f90359435ab4fe9af849c2bd8b47b709a8e3.tar.gz
oops, missed a log level change in knife
Diffstat (limited to 'chef/bin')
-rwxr-xr-xchef/bin/knife2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/bin/knife b/chef/bin/knife
index ff5ccd8944..32f9cd5d52 100755
--- a/chef/bin/knife
+++ b/chef/bin/knife
@@ -15,7 +15,7 @@ require 'tmpdir'
require 'uri'
Chef::Config.from_file("/etc/chef/client.rb")
-Chef::Log.level(ENV.has_key?("LOG_LEVEL") ? ENV["LOG_LEVEL"].to_sym : Chef::Config[:log_level])
+Chef::Log.level = (ENV.has_key?("LOG_LEVEL") ? ENV["LOG_LEVEL"].to_sym : Chef::Config[:log_level])
Mixlib::Authentication::Log.logger = Chef::Log.logger
API_OPSCODE_USER=ENV['OPSCODE_USER']