Skip to content

Commit

Permalink
Exclude a logger by default in handler mode. Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Dec 19, 2011
1 parent 85440f4 commit a645b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rack/handler/puma.rb
Expand Up @@ -8,13 +8,13 @@ module Puma
: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

Expand Down

0 comments on commit a645b64

Please sign in to comment.