webrick seems to need log write locations or things get weird

This commit is contained in:
John Bintz 2012-01-12 18:40:25 -05:00
parent 8de1bd8cf0
commit f51f041b85

View File

@ -141,7 +141,15 @@ module Jasmine
end end
end end
Rack::Handler::WEBrick.run(responder, :Port => server_port, :Logger => Logger.new(StringIO.new), :AccessLog => [ nil, nil ]) Rack::Handler::WEBrick.run(
responder,
:Port => server_port,
:Logger => Logger.new(StringIO.new),
:AccessLog => [
[ StringIO.new, WEBrick::AccessLog::COMMON_LOG_FORMAT ],
[ StringIO.new, WEBrick::AccessLog::REFERER_LOG_FORMAT ]
]
)
end end
while true do while true do