Skip to content

Commit

Permalink
fix: send webrick startup and shutdown messages to stdout instead of …
Browse files Browse the repository at this point in the history
…stderr
  • Loading branch information
bethesque committed Jul 12, 2018
1 parent cc8c2bd commit 908089e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pact/mock_service/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def webbrick_opts
opts = {
:Port => port,
:Host => host,
:AccessLog => []
:AccessLog => [],
:Logger => WEBrick::BasicLog.new($stdout)
}
opts.merge!({
:SSLCertificate => OpenSSL::X509::Certificate.new(File.open(options[:sslcert]).read) }) if options[:sslcert]
Expand Down

0 comments on commit 908089e

Please sign in to comment.