1
0
Fork 0
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:
Maple Ong 2021-02-03 16:34:11 -05:00 committed by GitHub
parent a5c4b1e130
commit 29bf4ac9ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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])

View file

@ -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