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:
parent
85440f403a
commit
a645b64940
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue