begin
Rack::Handler::Mongrel.run server, :Port => server_options[:port]
rescue LoadError
- Rack::Handler::WEBrick.run server, :Port => server_options[:port]
+ if server_options[:verbose]
+ Rack::Handler::WEBrick.run server, :Port => server_options[:port]
+ else
+ Rack::Handler::WEBrick.run server, :Port => server_options[:port], :AccessLog => [], :Logger => WEBrick::Log::new("/dev/null", 7)
+ end
end