mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Require rack/common_logger only if :verbose is true (#2547)
This commit is contained in:
parent
a5c4b1e130
commit
29bf4ac9ab
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
* Fix phased restart errors related to nio4r gem when using the Puma control server ([#2516])
|
||||
* Add `#string` method to `Puma::NullIO` ([#2520])
|
||||
* Fix binding via Rack handler to IPv6 addresses ([#2521])
|
||||
* Require rack/common_logger explicitly if :verbose is true ([#2547])
|
||||
|
||||
* Refactor
|
||||
* Refactor MiniSSL::Context on MRI, fix MiniSSL::Socket#write ([#2519])
|
||||
|
|
|
@ -31,6 +31,7 @@ module Rack
|
|||
|
||||
conf = ::Puma::Configuration.new(options, default_options) do |user_config, file_config, default_config|
|
||||
if options.delete(:Verbose)
|
||||
require 'rack/common_logger'
|
||||
app = Rack::CommonLogger.new(app, STDOUT)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue