summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 1dff1f8845..17aaad054b 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -300,8 +300,8 @@ class Chef
# Logging location as either an IO stream or string representing log file path
default :log_location, STDOUT
- def self.add_logger(name, log_type, log_level=:info, args=nil)
- loggers.push([name, log_type, log_level, args])
+ def self.add_logger(log_type, args=nil)
+ loggers.push([log_type, args])
end
default :loggers, []