Skip to content

Commit 908089e

Browse files
committed
fix: send webrick startup and shutdown messages to stdout instead of stderr
1 parent cc8c2bd commit 908089e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pact/mock_service/run.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def webbrick_opts
7676
opts = {
7777
:Port => port,
7878
:Host => host,
79-
:AccessLog => []
79+
:AccessLog => [],
80+
:Logger => WEBrick::BasicLog.new($stdout)
8081
}
8182
opts.merge!({
8283
:SSLCertificate => OpenSSL::X509::Certificate.new(File.open(options[:sslcert]).read) }) if options[:sslcert]

0 commit comments

Comments
 (0)