diff --git a/ChangeLog b/ChangeLog index 9972a73ea3..54239473cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 8 04:36:17 2004 GOTOU Yuuzou + + * lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create + @config[:Logger] if it was not given. + Wed Jan 7 22:28:12 2004 Nobuyoshi Nakada * dir.c (glob_helper): fix memory leak. diff --git a/lib/webrick/cgi.rb b/lib/webrick/cgi.rb index 31a65c1118..62c61f519a 100644 --- a/lib/webrick/cgi.rb +++ b/lib/webrick/cgi.rb @@ -34,6 +34,7 @@ module WEBrick if config = args.shift @config.update(config) end + @config[:Logger] ||= WEBrick::BasicLog.new($stderr) @logger = @config[:Logger] @options = args end