1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Exclude a logger by default in handler mode. Fixes #22

This commit is contained in:
Evan Phoenix 2011-12-19 14:13:18 -08:00
parent 85440f403a
commit a645b64940

View file

@ -8,13 +8,13 @@ module Rack
:Host => '0.0.0.0',
:Port => 8080,
:Threads => '0:16',
:Quiet => false
:Verbose => false
}
def self.run(app, options = {})
options = DEFAULT_OPTIONS.merge(options)
unless options[:Quiet]
if options[:Verbose]
app = Rack::CommonLogger.new(app, STDOUT)
end