lib/webrick/log.rb in webrick-1.4.1 vs lib/webrick/log.rb in webrick-1.4.2
- old
+ new
@@ -49,10 +49,10 @@
def initialize(log_file=nil, level=nil)
@level = level || INFO
case log_file
when String
- @log = open(log_file, "a+")
+ @log = File.open(log_file, "a+")
@log.sync = true
@opened = true
when NilClass
@log = $stderr
else