Skip to content

Commit ae9bc24

Browse files
Suppress logging on WEBrick.
1 parent 621955c commit ae9bc24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/unit/server.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ class UnitTests < Sinatra::Application
1010

1111
set :root, PWD
1212
set :public_folder, PWD.join('static')
13+
14+
# Suppress logging.
1315
set :logging, false
16+
set :server_settings, { :AccessLog => [] }
1417

1518
# By default, the server is only reachable locally. We change this so that
1619
# we can start the server on one machine and then run tests from another.

0 commit comments

Comments
 (0)