summaryrefslogtreecommitdiffstats
path: root/lib/webrick
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webrick')
-rw-r--r--lib/webrick/cgi.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/webrick/cgi.rb b/lib/webrick/cgi.rb
index 31a65c111..62c61f519 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