mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
This reverts commit 9cf89e6971
.
This commit is contained in:
parent
53978d22c5
commit
65a821aa7e
3 changed files with 3 additions and 18 deletions
|
@ -365,11 +365,6 @@ module Puma
|
|||
@options[:log_requests] = which
|
||||
end
|
||||
|
||||
# Pass in a custom logging class instance
|
||||
def logger(custom_logger)
|
||||
@options[:logger] = custom_logger
|
||||
end
|
||||
|
||||
# Show debugging info
|
||||
#
|
||||
def debug
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
class CustomLogger
|
||||
def initialize(output=STDOUT)
|
||||
@output = output
|
||||
end
|
||||
|
||||
def write(msg)
|
||||
@output.print 'Custom logging: ' + msg
|
||||
@output.flush
|
||||
end
|
||||
end
|
||||
|
||||
log_requests
|
||||
logger CustomLogger.new(STDOUT)
|
|
@ -121,6 +121,9 @@ class TestConfigFile < TestConfigFileBase
|
|||
assert_equal [ssl_binding], conf.options[:binds]
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
def test_ssl_bind_no_tlsv1_1
|
||||
skip_if :jruby
|
||||
skip_unless :ssl
|
||||
|
|
Loading…
Reference in a new issue