Skip to content

Commit 5ea212f

Browse files
author
AJ Christensen
committed
CHEF-151: allow the log_location override to chef::config
1 parent 0a2c938 commit 5ea212f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chef/lib/chef/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def self.manage_secret_key
4747
# location<IO||String>:: Logging location as either an IO stream or string representing log file path
4848
#
4949
def self.log_location=(location)
50-
@@configuration[:log_location]=(location.respond_to?(:sync=) ? location : File.new(location, "w+"))
50+
configure { |c| c[:log_location] = (location.respond_to?(:sync=) ? location : File.new(location, "w+")) }
5151
end
5252

5353
authorized_openid_identifiers nil

0 commit comments

Comments
 (0)