Skip to content
Browse files

Don't buffer test logs

  • Loading branch information...
1 parent 7ff78a3 commit a6d90f3506adaa33d6a9f663916181f0c487f204 @lgierth lgierth committed with mislav Aug 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 script/test
View
1 script/test
@@ -52,6 +52,7 @@ thread = Thread.new do
end
require 'webrick'
log_io = File.open logfile, 'w'
+ log_io.sync = true
webrick_opts = {
:Port => port, :Logger => WEBrick::Log::new(log_io),
:AccessLog => [[log_io, "[%{X-Faraday-Adapter}i] %m %U -> %s %b"]]

0 comments on commit a6d90f3

Please sign in to comment.
Something went wrong with that request. Please try again.